03ba9e74ea
Bug 851190 - eclipse CBI build does not Requires: icu4j-eclipse
16 lines
405 B
Plaintext
16 lines
405 B
Plaintext
# RPM macros for eclipse packages.
|
|
#
|
|
|
|
# There is no guarantee that %%{_libdir} will resolve properly on
|
|
# noarch so we use this macro.
|
|
%_eclipse_bits %(rpm --eval %{__isa_bits} | sed 's/32//')
|
|
%_eclipse_base %{_prefix}/lib%{_eclipse_bits}/eclipse
|
|
|
|
|
|
#symlinking platform repos
|
|
%_symlink \
|
|
_pattern="%1" \
|
|
_target="%2" \
|
|
_f=`ls | grep -e "^${_pattern}"`; \
|
|
rm -rf {_f} ; \
|
|
ln -s %{_javadir}/${_target} ${_f} |