[bsh] - Build with -source 1.5.

Ville Skyttä scop at fedoraproject.org
Thu Nov 25 22:19:37 UTC 2010


commit 0b04f32426230ed2ff8073571f73a118c9c119a4
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu Nov 25 22:47:53 2010 +0200

    - Build with -source 1.5.

 bsh.spec |    8 +++++---
 1 files 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 <sochotnicky at redhat.com> - 0:1.3.0-16
 - Fix pom filenames (Resolves rhbz#655791)


More information about the scm-commits mailing list