packages: subversion/subversion.spec, subversion/subversion-tests.patch - a...

qboosh qboosh at pld-linux.org
Sun Nov 21 10:26:38 CET 2010


Author: qboosh                       Date: Sun Nov 21 09:26:38 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added tests patch (disables auth test, which fails when subversion cannot load all its auth modules completely)
- disabled swig files regeneration (current subversion is not ready for swig 2.0.x)
- note: check-swig-py fails for me

---- Files affected:
packages/subversion:
   subversion.spec (1.290 -> 1.291) , subversion-tests.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/subversion/subversion.spec
diff -u packages/subversion/subversion.spec:1.290 packages/subversion/subversion.spec:1.291
--- packages/subversion/subversion.spec:1.290	Mon Nov 15 11:17:52 2010
+++ packages/subversion/subversion.spec	Sun Nov 21 10:26:32 2010
@@ -48,13 +48,16 @@
 Patch0:		%{name}-home_etc.patch
 Patch1:		%{name}-DESTDIR.patch
 Patch2:		%{name}-ruby-datadir-path.patch
+Patch3:		%{name}-tests.patch
 URL:		http://subversion.apache.org/
 %if %{with net_client_only}
 %global apache_modules_api 0
 %else
 %{?with_apache:BuildRequires:	apache-devel >= 2.2.0-8}
+BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	db-devel >= 4.1.25
+BuildRequires:	libtool
 BuildRequires:	rpmbuild(macros) >= 1.583
 %if %{with perl}
 BuildRequires:	perl-devel >= 1:5.8.0
@@ -394,6 +397,7 @@
 %patch0 -p0
 %patch1 -p1
 %patch2 -p0
+%patch3 -p1
 
 sed -i -e 's#serf_prefix/lib#serf_prefix/%{_lib}#g' build/ac-macros/serf.m4
 
@@ -401,11 +405,11 @@
 %{?with_neon:sed -i -e 's#serf_found="yes"#serf_found="no"#g' build/ac-macros/serf.m4}
 
 %build
-rm subversion/bindings/swig/proxy/*.swg
-cd subversion/bindings/swig && python "%{SOURCE5}" && cd ../../..
-cp -f /usr/share/automake/config.sub ac-helpers
+# disabled regeneration - subversion 1.6.13 is not ready for swig 2.0.x
+#%{__rm} subversion/bindings/swig/proxy/*.swg
+#cd subversion/bindings/swig && python "%{SOURCE5}" && cd ../../..
 chmod +x ./autogen.sh && ./autogen.sh
-
+%{__libtoolize}
 %configure \
 	--with-editor=vi \
 	--with-zlib=%{_libdir} \
@@ -842,6 +846,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.291  2010/11/21 09:26:32  qboosh
+- added tests patch (disables auth test, which fails when subversion cannot load all its auth modules completely)
+- disabled swig files regeneration (current subversion is not ready for swig 2.0.x)
+- note: check-swig-py fails for me
+
 Revision 1.290  2010/11/15 10:17:52  pawelz
 - release 4
 

================================================================
Index: packages/subversion/subversion-tests.patch
diff -u /dev/null packages/subversion/subversion-tests.patch:1.3
--- /dev/null	Sun Nov 21 10:26:38 2010
+++ packages/subversion/subversion-tests.patch	Sun Nov 21 10:26:32 2010
@@ -0,0 +1,11 @@
+--- subversion-1.6.13/subversion/tests/libsvn_subr/auth-test.c.orig	2009-01-14 19:06:00.000000000 +0100
++++ subversion-1.6.13/subversion/tests/libsvn_subr/auth-test.c	2010-11-20 10:49:03.319104128 +0100
+@@ -27,6 +27,8 @@
+                                       svn_test_opts_t *opts,
+                                       apr_pool_t *pool)
+ {
++  return svn_error_create(SVN_ERR_TEST_SKIPPED, NULL, "test disabled");
++
+   apr_array_header_t *providers;
+   svn_auth_provider_object_t *provider;
+   int number_of_providers = 0;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/subversion/subversion.spec?r1=1.290&r2=1.291&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/subversion/subversion-tests.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list