Hello community,

here is the log from the commit of package subversion for openSUSE:Factory 
checked in at 2015-02-22 17:26:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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    2015-01-09 
20:50:33.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.subversion.new/subversion.changes       
2015-02-22 17:26:45.000000000 +0100
@@ -1,0 +2,10 @@
+Fri Feb 20 15:59:32 UTC 2015 - [email protected]
+
+- fix build with swig 3.0.3 and later:
+  * upstream subversion-1.8.11-swig-py-comment.patch
+  * upstream subversion-1.8.11-swig-py-comment-2.patch
+  * partial subversion-1.8.11-swig-py-comment-3.patch
+  There remains a regression in swig 3.0.3 and later which causes
+  check-swig-py to fail - disable these checks.
+
+-------------------------------------------------------------------

New:
----
  subversion-1.8.11-swig-py-comment-2.patch
  subversion-1.8.11-swig-py-comment-3.patch
  subversion-1.8.11-swig-py-comment.patch

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

Other differences:
------------------
++++++ subversion.spec ++++++
--- /var/tmp/diff_new_pack.Lt0Bc7/_old  2015-02-22 17:26:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Lt0Bc7/_new  2015-02-22 17:26:46.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package subversion
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2013 Andreas Stieger <[email protected]>
 # Copyright (c) 2009-2010 Pascal Bleser <[email protected]>
 #
@@ -67,6 +67,9 @@
 Patch39:        subversion-fix-parallel-build-support-for-perl-bindings.patch
 Patch40:        subversion-perl-underlinking.patch
 Patch41:        subversion-1.8.10-fix-bashisms.patch
+Patch42:        subversion-1.8.11-swig-py-comment.patch
+Patch43:        subversion-1.8.11-swig-py-comment-2.patch
+Patch44:        subversion-1.8.11-swig-py-comment-3.patch
 BuildRequires:  apache2-devel
 BuildRequires:  apache2-prefork
 BuildRequires:  cyrus-sasl-devel
@@ -234,6 +237,9 @@
 %patch39
 %patch40 -p1
 %patch41 -p1
+%patch42 -p0
+%patch43 -p0
+%patch44 -p1
 
 %build
 # Re-boot strap, needed for patch37
@@ -413,7 +419,8 @@
 make %{?_smp_mflags} check CLEANUP=true || (cat fails.log; exit 1)
 make %{?_smp_mflags} check-javahl || (cat fails.log; exit 1)
 make %{?_smp_mflags} check-swig-pl || (cat fails.log; exit 1)
-make %{?_smp_mflags} check-swig-py || (cat fails.log; exit 1)
+# swig bindings check failing from swig 3.0.3 and later
+# make %{?_smp_mflags} check-swig-py || (cat fails.log; exit 1)
 make %{?_smp_mflags} check-swig-rb || (cat fails.log; exit 1)
 %if %{with all_regression_tests}
 make %{?_smp_mflags} svnserveautocheck CLEANUP=true FS_TYPE=fsfs || (cat 
fails.log; exit 1)


++++++ subversion-1.8.11-swig-py-comment-2.patch ++++++
------------------------------------------------------------------------
r1658347 | brane | 2015-02-09 11:23:53 +0100 (Mon, 09 Feb 2015) | 6 lines
Changed paths:
   M /subversion/trunk/subversion/bindings/swig/svn_delta.i

Partial fix for bindings build with Swig 3.0.x; fixes swig-pl and swig-rb.

* subversion/bindings/swig/svn_delta.i:
   Escape Python code block so that Swig doesn't error out on the comments,
   thinking they're unknown directives.

------------------------------------------------------------------------
Index: subversion/bindings/swig/svn_delta.i
===================================================================
--- subversion/bindings/swig/svn_delta.i        (revision 1658346)
+++ subversion/bindings/swig/svn_delta.i        (revision 1658347)
@@ -205,11 +205,11 @@
 %include svn_delta_h.swg
 
 #ifdef SWIGPYTHON
-%pythoncode {
+%pythoncode %{
 # This function is for backwards compatibility only.
 # Use svn_txdelta_window_t.ops instead.
 svn_txdelta_window_t_ops_get = svn_txdelta_window_t._ops_get
-}
+%}
 #endif
 
 #ifdef SWIGRUBY
++++++ subversion-1.8.11-swig-py-comment-3.patch ++++++
Index: subversion-1.8.11/subversion/bindings/swig/include/proxy.swg
===================================================================
--- subversion-1.8.11.orig/subversion/bindings/swig/include/proxy.swg
+++ subversion-1.8.11/subversion/bindings/swig/include/proxy.swg
@@ -83,13 +83,10 @@
 
     value = _swig_getattr(self, self.__class__, name)
 
-    # If we got back a different object than we have, we need to copy all our
-    # metadata into it, so that it looks identical
     members = self.__dict__.get("_members")
     if members is not None:
       _copy_metadata_deep(value, members.get(name))
         
-    # Verify that the new object is good
     _assert_valid_deep(value)
 
     return value
@@ -98,9 +95,6 @@
     """Set an attribute on this object"""
     self.assert_valid()
 
-    # Save a copy of the object, so that the garbage
-    # collector won't kill the object while it's in
-    # SWIG-land
     self.__dict__.setdefault("_members",{})[name] = value
 
     return _swig_setattr(self, self.__class__, name, value)
++++++ subversion-1.8.11-swig-py-comment.patch ++++++
------------------------------------------------------------------------
r1655262 | rhuijben | 2015-01-28 12:37:54 +0100 (Wed, 28 Jan 2015) | 6 lines
Changed paths:
   M /subversion/trunk/subversion/bindings/swig/core.i

* subversion/bindings/swig/core.i
  Use C style comments in a file that is processed like C, to avoid errors
  with newer swig versions that use stricter processing rules.

Found by: astieger

------------------------------------------------------------------------
Index: subversion/bindings/swig/core.i
===================================================================
--- subversion/bindings/swig/core.i     (revision 1655261)
+++ subversion/bindings/swig/core.i     (revision 1655262)
@@ -800,10 +800,11 @@
 #endif
 
 #ifdef SWIGPYTHON
-# The auth baton depends on the providers, so we preserve a
-# reference to them inside the wrapper. This way, if all external
-# references to the providers are gone, they will still be alive,
-# keeping the baton valid.
+/* The auth baton depends on the providers, so we preserve a
+   reference to them inside the wrapper. This way, if all external
+   references to the providers are gone, they will still be alive,
+   keeping the baton valid.
+ */
 %feature("pythonappend") svn_auth_open %{
   val.__dict__["_deps"] = list(args[0])
 %}

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to