Hello community,

here is the log from the commit of package subversion for openSUSE:Factory 
checked in at 2014-09-10 17:02:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/subversion (Old)
 and      /work/SRC/openSUSE:Factory/.subversion.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "subversion"

Changes:
--------
--- /work/SRC/openSUSE:Factory/subversion/subversion.changes    2014-08-13 
08:49:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.subversion.new/subversion.changes       
2014-09-10 17:02:45.000000000 +0200
@@ -1,0 +2,36 @@
+Tue Sep  9 06:57:54 UTC 2014 - [email protected]
+
+- Re-enable optional running full regression test suite,
+  cleanup of dependencies only for network based tests.
+- make build with ctypesgen optional, off as it is not in Factory
+
+-------------------------------------------------------------------
+Mon Sep  8 22:41:18 UTC 2014 - [email protected]
+
+- move autogen to %build to not break quilt setup
+
+-------------------------------------------------------------------
+Thu Sep  4 13:38:53 UTC 2014 - [email protected]
+
+- Use python_sitearch properly
+
+-------------------------------------------------------------------
+Thu Sep  4 11:50:04 UTC 2014 - [email protected]
+
+- Cleanup with spec-cleaner, remove crufty conditionals to reduce
+  the in-build conditions
+- Install only systemd packages where needed
+- Drop support of really old stuff (sle10)
+- Run only basic tests and run them always
+- Unbundle everything. For older distros rather use linkpac
+- Removed patches:
+  * subversion.libtool-pie-flags.patch
+  * subversion.perl.LD_RUN_PATH.patch
+  * swig.noembed.patch
+- Added patches:
+  * subversion-1.8.0-rpath.patch
+  * subversion-fix-parallel-build-support-for-perl-bindings.patch
+  * subversion-perl-underlinking.patch
+  * subversion-swig-perl-Wall.patch
+
+-------------------------------------------------------------------

Old:
----
  sqlite-amalgamation-3071501.zip
  subversion.libtool-pie-flags.patch
  subversion.perl.LD_RUN_PATH.patch
  swig-1.3.36.tar.gz
  swig.noembed.patch

New:
----
  subversion-1.8.0-rpath.patch
  subversion-fix-parallel-build-support-for-perl-bindings.patch
  subversion-perl-underlinking.patch
  subversion-swig-perl-Wall.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ subversion.spec ++++++
++++ 1001 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/subversion/subversion.spec
++++ and /work/SRC/openSUSE:Factory/.subversion.new/subversion.spec

++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.Jn23zs/_old  2014-09-10 17:02:47.000000000 +0200
+++ /var/tmp/diff_new_pack.Jn23zs/_new  2014-09-10 17:02:47.000000000 +0200
@@ -2,7 +2,7 @@
 <constraints>
   <hardware>
     <memory>
-      <size unit="M">768</size>
+      <size unit="M">1024</size>
     </memory>
   </hardware>
 </constraints>

++++++ subversion-1.8.0-rpath.patch ++++++
Prevent the linker from adding an rpath to shared libraries.  Original
patch by David Kimdon <[email protected]>.  The basic theory is:

- Split the $(LINK) makefile macro into $(LINK) and $(LINK_LIB).
- Comment out LD_RUN_PATH in the Perl makefiles.
- Use libtool instead of apxs to install the apache modules.
  libtool relinks without rpath in this case, apxs obviously doesn't.

--- a/Makefile.in
+++ b/Makefile.in
@@ -216,10 +216,10 @@
 # special compilation for files destined for cxxhl
 COMPILE_CXXHL_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=compile $(COMPILE_CXX) 
$(LT_CFLAGS) $(CXXHL_INCLUDES) -o $@ -c
 
-LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) 
$(LDFLAGS) -rpath $(libdir)
-LINK_LIB = $(LINK) $(LT_SO_VERSION)
-LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) 
$(CXXFLAGS) $(LDFLAGS) -rpath $(libdir)
-LINK_CXX_LIB = $(LINK_CXX) $(LT_SO_VERSION)
+LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) 
$(LDFLAGS)
+LINK_LIB = $(LINK) $(LT_SO_VERSION) -rpath $(libdir)
+LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) 
$(CXXFLAGS) $(LDFLAGS)
+LINK_CXX_LIB = $(LINK_CXX) $(LT_SO_VERSION) -rpath $(libdir)
 
 # special link rule for mod_dav_svn
 LINK_APACHE_MOD = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) 
$(CFLAGS) $(LDFLAGS) -rpath $(APACHE_LIBEXECDIR) -avoid-version -module 
$(APACHE_LDFLAGS)
@@ -777,7 +777,9 @@
        ./config.status subversion/bindings/swig/perl/native/Makefile.PL
 
 $(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL
-       cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL
+       cd $(SWIG_PL_DIR)/native; \
+               $(PERL) Makefile.PL INSTALLDIRS=vendor; \
+               sed -i -e '/^LD_RUN_PATH/s/^/#/' Makefile Makefile.[a-z]*
 
 # There is a "readlink -f" command on some systems for the same purpose,
 # but it's not as portable (e.g. Mac OS X doesn't have it).  These should
--- a/build.conf
+++ b/build.conf
@@ -502,7 +502,7 @@
 lang = python
 path = subversion/bindings/swig/python/libsvn_swig_py
 libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr apriconv apr
-link-cmd = $(LINK)
+link-cmd = $(LINK_LIB) $(SWIG_PY_LIBS)
 install = swig-py-lib
 # need special build rule to include -DSWIGPYTHON
 compile-cmd = $(COMPILE_SWIG_PY)
@@ -525,7 +525,7 @@
 lang = ruby
 path = subversion/bindings/swig/ruby/libsvn_swig_ruby
 libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr
-link-cmd = $(LINK) $(SWIG_RB_LIBS)
+link-cmd = $(LINK_LIB) $(SWIG_RB_LIBS)
 install = swig-rb-lib
 # need special build rule to include
 compile-cmd = $(COMPILE_SWIG_RB)
--- a/build/generator/gen_base.py
+++ b/build/generator/gen_base.py
@@ -415,7 +415,7 @@
     self.install = options.get('install')
     self.compile_cmd = options.get('compile-cmd')
     self.sources = options.get('sources', '*.c *.cpp')
-    self.link_cmd = options.get('link-cmd', '$(LINK)')
+    self.link_cmd = options.get('link-cmd', '$(LINK_LIB)')
 
     self.external_lib = options.get('external-lib')
     self.external_project = options.get('external-project')
@@ -467,6 +467,7 @@
       extmap = self.gen_obj._extension_map
       self.objext = extmap['exe', 'object']
       self.filename = build_path_join(self.path, name + extmap['exe', 
'target'])
+      self.link_cmd = '$(LINK)'
 
     self.manpages = options.get('manpages', '')
     self.testing = options.get('testing')

++++++ subversion-fix-parallel-build-support-for-perl-bindings.patch ++++++
--- Makefile.in 2011-07-16 13:50:53.000000000 +0200
+++ Makefile.in.new     2012-03-11 12:13:57.000000000 +0100
@@ -732,7 +732,7 @@
 extraclean-swig-headers: clean-swig-headers
        $(EXTRACLEAN_SWIG_HEADERS)
 
-$(SWIG_PL_DIR)/native/Makefile.PL: $(SWIG_SRC_DIR)/perl/native/Makefile.PL.in
+$(SWIG_PL_DIR)/native/Makefile.PL: $(SWIG_SRC_DIR)/perl/native/Makefile.PL.in 
libsvn_swig_perl
        ./config.status subversion/bindings/swig/perl/native/Makefile.PL
 
 $(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL
++++++ subversion-perl-underlinking.patch ++++++
diff -urN subversion-1.8.10.old/Makefile.in subversion-1.8.10/Makefile.in
--- subversion-1.8.10.old/Makefile.in   2014-08-19 14:05:55.226069730 +0200
+++ subversion-1.8.10/Makefile.in       2014-08-19 14:55:21.696069376 +0200
@@ -791,7 +791,7 @@
        if test "`$(READLINK_PL) $(SWIG_PL_DIR)`" != "`$(READLINK_PL) 
$(SWIG_PL_SRC_DIR)`"; then \
          ln -sf $(SWIG_PL_SRC_DIR)/native/*.c $(SWIG_PL_DIR)/native; \
        fi
-       cd $(SWIG_PL_DIR)/native; $(MAKE) OPTIMIZE="" 
OTHERLDFLAGS="$(SWIG_LDFLAGS)"
+       cd $(SWIG_PL_DIR)/native; $(MAKE)
 
 check-swig-pl: swig-pl swig-pl-lib
        cd $(SWIG_PL_DIR)/native; $(MAKE) test
diff -urN 
subversion-1.8.10.old/subversion/bindings/swig/perl/native/Makefile.PL.in 
subversion-1.8.10/subversion/bindings/swig/perl/native/Makefile.PL.in
--- subversion-1.8.10.old/subversion/bindings/swig/perl/native/Makefile.PL.in   
2014-08-19 14:05:55.198069730 +0200
+++ subversion-1.8.10/subversion/bindings/swig/perl/native/Makefile.PL.in       
2014-08-19 14:41:23.190069476 +0200
@@ -86,7 +86,7 @@
                  " -I$svnlib_builddir",
                  " -I$swig_srcdir -g"),
     OBJECT => q/$(O_FILES)/,
-    LIBS => [join(' ', $apr_ldflags,
+    LIBS => [join(' ', $apr_ldflags, '-lpthread -lapr-1 -lperl',
                   (map {"-L$_"} @ldpaths),
                   @ldmodules, '-lsvn_swig_perl-1',
                   `$swig -perl -ldflags`)],
++++++ subversion-swig-perl-Wall.patch ++++++

Don't drop -Wall in the swig Perl bindings, otherwise building with
e.g. -Wformat-security might break.

https://bugzilla.redhat.com/show_bug.cgi?id=1037341

--- 
subversion-1.8.5/subversion/bindings/swig/perl/native/Makefile.PL.in.swigplWall
+++ subversion-1.8.5/subversion/bindings/swig/perl/native/Makefile.PL.in
@@ -54,7 +54,6 @@ my $includes = ' -I/usr/include/apr-1
 # SWIG is using C++ style comments in an extern "C" code.
 $cflags =~ s/-ansi\s+//g;
 $cflags =~ s/-std=c89\s+//g;
-$cflags =~ s/-Wall//g;
 $cflags =~ s/-Wunused//g;
 $cflags =~ s/-Wshadow//g;
 $cflags =~ s/-Wstrict-prototypes//g;
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to