diff --git a/bsh.spec b/bsh.spec index 7ef5f19..106535c 100644 --- a/bsh.spec +++ b/bsh.spec @@ -133,10 +133,11 @@ pushd lib ln -sf $(build-classpath bsf) ln -sf $(build-classpath servlet) popd -ant -Dant.build.javac.source=1.4 dist +ant="ant -Dant.build.javac.source=1.5" +$ant dist %ifnarch ppc64 s390x -(cd docs/faq && ant -Dant.build.javac.source=1.5) -(cd docs/manual && ant -Dant.build.javac.source=1.5) +(cd docs/faq && $ant) +(cd docs/manual && $ant) %endif %install @@ -332,6 +333,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - Bring icon cache scriptlets up to date with current guidelines. - Use jline in bsh script for command history support. - Prefer JRE over SDK when finding JVM to invoke in scripts. +- Build with -source 1.5. * Thu Nov 25 2010 Stanislav Ochotnicky - 0:1.3.0-16 - Fix pom filenames (Resolves rhbz#655791)