On Thu, 24 May 2012, Stefan Seyfried wrote:
See $SUBJECT.
I'm fixing the Publishing/pdftk build right now and it has stuff in the specfile like:
%if 0%{?suse_version} <= 1210 %define jarv -4.6 %endif
%if 0%{?suse_version} <= 1140 %define jarv -4.5 %endif
%if 0%{?suse_version} <= 1120 %define jarv -4.4 %endif
...
%build %__make -C pdftk CXXFLAGS="%optflags" \ LIBGCJ=%{_javadir}/libgcj%{jarv}.jar GXXV=%gxxv
...
seriously, this is crazy. Can't we just have libgcj-devel provide a libgcj.jar symlink to the latest libgcj-xx.nar?
Why would the makefile want to know the libgcj.jar file anyway? There
is, btw, a proper symlink in the java-jdk-gcj-compat package (or
whatever that is named again ...).
Richard.
--
Richard Guenther