[gridengine] Build java with source/target 1.5 to properly compile generics (bug 842595)

Orion Poplawski orion at fedoraproject.org
Wed Oct 17 03:50:03 UTC 2012


commit fdd5faef0d02e2a9997c73e88e065f5935a2090e
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Tue Oct 16 21:50:00 2012 -0600

    Build java with source/target 1.5 to properly compile generics (bug 842595)

 gridengine.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/gridengine.spec b/gridengine.spec
index 27a8e10..bf1719b 100644
--- a/gridengine.spec
+++ b/gridengine.spec
@@ -12,7 +12,7 @@
 
 Name:    gridengine
 Version: 2011.11p1
-Release: 5%{?dist}
+Release: 6%{?dist}
 Summary: Grid Engine - Distributed Computing Management software
 
 Group:   Applications/System
@@ -237,6 +237,8 @@ set CORE_HOME = `pwd`
 EOF
 cat > build_private.properties <<EOF
 javacc.home=%{_javadir}
+default.sge.javac.source=1.5
+default.sge.javac.target=1.5
 libs.junit.classpath=%{_javadir}/junit.jar
 izpack.lib=/usr/share/java/izpack
 hadoop.javac.source=1.6
@@ -645,6 +647,9 @@ fi
 
 
 %changelog
+* Tue Oct 16 2012 Orion Poplawski <orion at cora.nwra.com> 2011.11p1-6
+- Build java with source/target 1.5 to properly compile generics (bug 842595)
+
 * Wed Oct 3 2012 Orion Poplawski <orion at cora.nwra.com> 2011.11p1-5
 - Add patch to generate load sensor reports just before sending them
 - Only BR hostname on Fedora


More information about the scm-commits mailing list