From 0b04f32426230ed2ff8073571f73a118c9c119a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 25 Nov 2010 22:47:53 +0200 Subject: [PATCH] - Build with -source 1.5. --- bsh.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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)