rpms/jakarta-commons-lang/devel jakarta-commons-lang.spec, 1.15, 1.16
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Jul 18 00:50:25 UTC 2006
Author: dbhole
Update of /cvs/dist/rpms/jakarta-commons-lang/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv13361
Modified Files:
jakarta-commons-lang.spec
Log Message:
Added an if block around test failure ignore when gcj support is enabled.
Index: jakarta-commons-lang.spec
===================================================================
RCS file: /cvs/dist/rpms/jakarta-commons-lang/devel/jakarta-commons-lang.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- jakarta-commons-lang.spec 17 Jul 2006 23:08:27 -0000 1.15
+++ jakarta-commons-lang.spec 18 Jul 2006 00:50:22 -0000 1.16
@@ -39,7 +39,7 @@
Name: %{name}
Version: 2.1
-Release: 3jpp_1fc
+Release: 3jpp_2fc
Epoch: 0
Summary: Jakarta Commons Lang Package
License: Apache Software License
@@ -89,13 +89,22 @@
%patch0
%build
-%ant \
- -Djunit.jar=$(find-jar junit) \
- -Dfinal.name=%{short_name} \
- -Djdk.javadoc=%{_javadocdir}/java \
- -Dtest.failonerror=false \
- test dist
+# FIXME: There are failures with gcj. Ignore them for now.
+%if %{gcj_support}
+ %ant \
+ -Djunit.jar=$(find-jar junit) \
+ -Dfinal.name=%{short_name} \
+ -Djdk.javadoc=%{_javadocdir}/java \
+ -Dtest.failonerror=false \
+ test dist
+%else
+ %ant \
+ -Djunit.jar=$(find-jar junit) \
+ -Dfinal.name=%{short_name} \
+ -Djdk.javadoc=%{_javadocdir}/java \
+ test dist
+%endif
%install
rm -rf $RPM_BUILD_ROOT
@@ -156,6 +165,9 @@
%changelog
+* Mon Jul 17 2006 Deepak Bhole <dbhole at redhat.com> - 0:2.1-3jpp_2fc
+- Added an if block around test failure ignore when gcj support is enabled.
+
* Mon Jul 17 2006 Deepak Bhole <dbhole at redhat.com> - 0:2.1-3jpp_1fc
- Added conditional native compiling.
- By jkeating: Patched to not use taget= in build.xml
More information about the fedora-cvs-commits
mailing list