packages: java-junit/java-junit.spec - source level 5.0 needed to compile -...

glen glen at pld-linux.org
Thu May 21 19:42:07 CEST 2009


Author: glen                         Date: Thu May 21 17:42:07 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- source level 5.0 needed to compile
- drop R jdk. java autodeps are for that

---- Files affected:
packages/java-junit:
   java-junit.spec (1.28 -> 1.29) 

---- Diffs:

================================================================
Index: packages/java-junit/java-junit.spec
diff -u packages/java-junit/java-junit.spec:1.28 packages/java-junit/java-junit.spec:1.29
--- packages/java-junit/java-junit.spec:1.28	Wed May 20 09:01:58 2009
+++ packages/java-junit/java-junit.spec	Thu May 21 19:42:01 2009
@@ -1,4 +1,11 @@
 # $Revision$, $Date$
+# TODO
+# will not build with gcj:
+# Syntax error, annotations are only available if source level is 5.0
+# Syntax error, static imports are only available if source level is 5.0
+# Syntax error, parameterized types are only available if source level is 5.0
+#
+# Conditional build:
 %bcond_without  javadoc         # don't build javadoc
 
 %if "%{pld_release}" == "ti"
@@ -7,9 +14,8 @@
 %bcond_with    java_sun        # build with java-sun
 %endif
 
-%include	/usr/lib/rpm/macros.java
-
 %define		srcname		junit
+%include	/usr/lib/rpm/macros.java
 Summary:	JUnit - regression testing framework
 Summary(pl.UTF-8):	JUnit - środowisko do testów regresji
 Name:		java-junit
@@ -28,7 +34,6 @@
 BuildRequires:	rpmbuild(macros) >= 1.300
 BuildRequires:	unzip
 Requires:	java-hamcrest
-Requires:	jdk >= 1.5
 Provides:	junit
 Obsoletes:	junit
 BuildArch:	noarch
@@ -101,6 +106,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.29  2009/05/21 17:42:01  glen
+- source level 5.0 needed to compile
+- drop R jdk. java autodeps are for that
+
 Revision 1.28  2009/05/20 07:01:58  glen
 - fix hamcrest dep; rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/java-junit/java-junit.spec?r1=1.28&r2=1.29&f=u



More information about the pld-cvs-commit mailing list