[eclipse-wtp-sourceediting] RHBZ #842588 - compile with -target 1.5 or greater

Gerard Ryan galileo at fedoraproject.org
Mon Apr 22 20:33:04 UTC 2013


commit eb54d1485ff87158f6d5e3c6e088e822a72f0741
Author: Gerard Ryan <gerard at ryan.lt>
Date:   Mon Apr 22 21:32:57 2013 +0100

    RHBZ #842588 - compile with -target 1.5 or greater

 eclipse-wtp-sourceediting.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/eclipse-wtp-sourceediting.spec b/eclipse-wtp-sourceediting.spec
index 5a14bae..187c83f 100644
--- a/eclipse-wtp-sourceediting.spec
+++ b/eclipse-wtp-sourceediting.spec
@@ -23,7 +23,7 @@
 
 Name:			eclipse-wtp-sourceediting
 Version:		3.4.2
-Release:		1%{?dist}
+Release:		2%{?dist}
 Summary:		WTP Source Editing
 
 Group:			Development/Tools
@@ -166,13 +166,15 @@ popd
 find -name feature.xml -exec sed -i -e 's/license-feature.*"//' '{}' \;
 
 %build
+OPTIONS="-DforceContextQualifier=201109301723 -DjavacSource=1.5 -DjavacTarget=1.5"
+
 eclipse-pdebuild -f org.eclipse.wst.web_ui.feature \
 	-d "xsd emf gef eclipse-wtp-common org.eclipse.wst.server_ui.feature" \
-	-o `pwd`/orbit
+	-o `pwd`/orbit -a "${OPTIONS}"
 
 eclipse-pdebuild -f org.eclipse.wst.xsl.feature \
 	-d "xsd emf gef eclipse-wtp-common" \
-	-o `pwd`/orbit
+	-o `pwd`/orbit -a "${OPTIONS}"
 
 
 %install
@@ -222,6 +224,9 @@ popd
 %doc %{sourceediting_dir}/docs/org.eclipse.wst.doc.user/about.html
 
 %changelog
+* Mon Apr 22 2013 Gerard Ryan <galileo at fedoraproject.org> 3.4.2-2
+- RHBZ #842588 - compile with -target 1.5 or greater
+
 * Sun Apr 21 2013 Gerard Ryan <galileo at fedoraproject.org> 3.4.2-1
 - Update to upstream 3.4.2
 - Update minimum BR/R dependency versions


More information about the scm-commits mailing list