Author: pawelz Date: Mon Apr 19 13:18:36 2010 GMT Module: packages Tag: HEAD ---- Log message: - don't force tests. Tests need network, so they fail on builders.
---- Files affected: packages/java-commons-net1: java-commons-net1.spec (1.1 -> 1.2) , disable-tests.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/java-commons-net1/java-commons-net1.spec diff -u packages/java-commons-net1/java-commons-net1.spec:1.1 packages/java-commons-net1/java-commons-net1.spec:1.2 --- packages/java-commons-net1/java-commons-net1.spec:1.1 Mon Apr 19 14:59:43 2010 +++ packages/java-commons-net1/java-commons-net1.spec Mon Apr 19 15:18:30 2010 @@ -14,6 +14,7 @@ Group: Libraries/Java Source0: http://www.apache.org/dist/commons/net/source/commons-net-%{version}-src.tar.gz # Source0-md5: ccbb3f67b55e8a7a676499db4386673c +Patch0: disable-tests.patch URL: http://commons.apache.org/net/ BuildRequires: ant %{?with_tests:BuildRequires: ant-junit} @@ -74,6 +75,8 @@ %prep %setup -q -n commons-net-%{version} +%patch0 -p0 + %build CLASSPATH=$(build-classpath oro) @@ -140,6 +143,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.2 2010/04/19 13:18:30 pawelz +- don't force tests. Tests need network, so they fail on builders. + Revision 1.1 2010/04/19 12:59:43 pawelz - initial ================================================================ Index: packages/java-commons-net1/disable-tests.patch diff -u /dev/null packages/java-commons-net1/disable-tests.patch:1.1 --- /dev/null Mon Apr 19 15:18:36 2010 +++ packages/java-commons-net1/disable-tests.patch Mon Apr 19 15:18:30 2010 @@ -0,0 +1,11 @@ +--- build.xml~ 2005-12-03 17:05:48.000000000 +0100 ++++ build.xml 2010-04-19 15:15:35.000000000 +0200 +@@ -58,7 +58,7 @@ + </fileset> + </copy> + </target> +- <target name="jar" description="o Create the jar" depends="compile,test"> ++ <target name="jar" description="o Create the jar" depends="compile"> + <jar jarfile="${defaulttargetdir}/${final.name}.jar"> + <fileset dir="${classesdir}"> + <exclude name="**/examples/**"/> ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/java-commons-net1/java-commons-net1.spec?r1=1.1&r2=1.2&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
