packages: java-qdox/java-qdox.spec - we don't execute tests (see TODO), so ...

pawelz pawelz at pld-linux.org
Wed Aug 19 16:04:45 CEST 2009


Author: pawelz                       Date: Wed Aug 19 14:04:45 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- we don't execute tests (see TODO), so don't compile them and don't BR junit

---- Files affected:
packages/java-qdox:
   java-qdox.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: packages/java-qdox/java-qdox.spec
diff -u packages/java-qdox/java-qdox.spec:1.21 packages/java-qdox/java-qdox.spec:1.22
--- packages/java-qdox/java-qdox.spec:1.21	Fri Apr  3 21:14:26 2009
+++ packages/java-qdox/java-qdox.spec	Wed Aug 19 16:04:40 2009
@@ -1,6 +1,6 @@
 # $Revision$, $Date$
 # TODO:
-# - execute tests
+# - tests
 
 %bcond_without	javadoc		# build javadoc
 %if "%{pld_release}" == "ti"
@@ -26,7 +26,6 @@
 %{!?with_java_sun:BuildRequires:	java-gcj-compat-devel}
 %{?with_java_sun:BuildRequires:	java-sun}
 BuildRequires:	jpackage-utils
-BuildRequires:	junit
 BuildRequires:	rpm >= 4.4.9-56
 BuildRequires:	rpm-javaprov
 BuildRequires:	rpmbuild(macros) >= 1.300
@@ -64,7 +63,7 @@
 
 %build
 
-CLASSPATH=$(build-classpath junit ant)
+CLASSPATH=$(build-classpath ant)
 
 install -d build
 
@@ -73,12 +72,12 @@
 	-source 1.4 \
 	-target 1.4 \
 	-d build \
-	$(find -name '*.java')
+	$(find -name '*.java' | grep -v com/thoughtworks/qdox/junit)
 
 %if %{with javadoc}
 %javadoc -d apidocs \
 	%{?with_java_sun:com.thoughtworks.qdox} \
-	$(find com/thoughtworks/qdox -name '*.java')
+	$(find -name '*.java' | grep -v ^com/thoughtworks/qdox/junit)
 %endif
 
 %jar -cf %{srcname}-%{version}.jar -C build com
@@ -119,6 +118,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2009/08/19 14:04:40  pawelz
+- we don't execute tests (see TODO), so don't compile them and don't BR junit
+
 Revision 1.21  2009/04/03 19:14:26  paszczus
 - s/name/srcname in descriptions
 - fixed building javadoc with java_sun
================================================================

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



More information about the pld-cvs-commit mailing list