SPECS (junit-3_8): junit.spec - compile with source/target 1.4

glen glen at pld-linux.org
Sun Dec 2 19:14:58 CET 2007


Author: glen                         Date: Sun Dec  2 18:14:58 2007 GMT
Module: SPECS                         Tag: junit-3_8
---- Log message:
- compile with source/target 1.4

---- Files affected:
SPECS:
   junit.spec (1.16.4.3 -> 1.16.4.4) 

---- Diffs:

================================================================
Index: SPECS/junit.spec
diff -u SPECS/junit.spec:1.16.4.3 SPECS/junit.spec:1.16.4.4
--- SPECS/junit.spec:1.16.4.3	Sun Dec  2 19:12:36 2007
+++ SPECS/junit.spec	Sun Dec  2 19:14:52 2007
@@ -1,10 +1,12 @@
 # $Revision$, $Date$
+%define		_java_source	1.4
+%define		_java_target	1.4
 %include	/usr/lib/rpm/macros.java
 Summary:	JUnit - regression testing framework
 Summary(pl.UTF-8):	JUnit - środowisko do testów regresji
 Name:		junit
 Version:	3.8.2
-Release:	1
+Release:	2
 License:	IBM Common Public License v1.0
 Group:		Development/Languages/Java
 Source0:	http://dl.sourceforge.net/junit/%{name}%{version}.zip
@@ -50,7 +52,7 @@
 
 %build
 cd build
-%javac $(find -name '*.java')
+%javac -target %{_java_target} -source %{_java_source} $(find -name '*.java')
 %jar -cvf %{name}-%{version}.jar $(find -type f '!' -name '*.java')
 
 %install
@@ -85,6 +87,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16.4.4  2007-12-02 18:14:52  glen
+- compile with source/target 1.4
+
 Revision 1.16.4.3  2007-12-02 18:12:36  glen
 - convert to utf8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/junit.spec?r1=1.16.4.3&r2=1.16.4.4&f=u



More information about the pld-cvs-commit mailing list