SPECS: xml-commons.spec - use gcj not sun javac (so now we could build it o...

pawelz pawelz at pld-linux.org
Wed Jan 28 11:16:10 CET 2009


Author: pawelz                       Date: Wed Jan 28 10:16:10 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use gcj not sun javac (so now we could build it on i486)
- BR: gcj, ant >= 1.7.1-3 (because of ant-gcjtask.patch)
- what happened to "%%ant clean"? I am almost sure that I'v added it in last
  commit... strange...

---- Files affected:
SPECS:
   xml-commons.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/xml-commons.spec
diff -u SPECS/xml-commons.spec:1.19 SPECS/xml-commons.spec:1.20
--- SPECS/xml-commons.spec:1.19	Tue Jan 27 17:30:58 2009
+++ SPECS/xml-commons.spec	Wed Jan 28 11:16:05 2009
@@ -14,7 +14,9 @@
 Patch0:		%{name}.build.patch
 Patch1:		%{name}.manifest.patch
 URL:		http://xml.apache.org/commons/
-BuildRequires:	ant
+# ant >= 1.7.1-3 is required because of ant-gcjtask.patch
+BuildRequires:	ant >= 1.7.1-3
+BuildRequires:	gcj
 BuildRequires:	jpackage-utils
 BuildRequires:	rpm-javaprov
 BuildRequires:	rpmbuild(macros) >= 1.300
@@ -63,7 +65,8 @@
 %patch1 -p1
 
 %build
-%ant jars
+%ant clean
+%ant jars -Dbuild.compiler=gcj
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -102,6 +105,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2009/01/28 10:16:05  pawelz
+- use gcj not sun javac (so now we could build it on i486)
+- BR: gcj, ant >= 1.7.1-3 (because of ant-gcjtask.patch)
+- what happened to "%%ant clean"? I am almost sure that I'v added it in last
+  commit... strange...
+
 Revision 1.19  2009/01/27 16:30:58  pawelz
 - cleanup
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xml-commons.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list