Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package subversion for openSUSE:Factory 
checked in at 2023-03-11 18:23:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/subversion (Old)
 and      /work/SRC/openSUSE:Factory/.subversion.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "subversion"

Sat Mar 11 18:23:23 2023 rev:191 rq:1070632 version:1.14.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/subversion/subversion.changes    2023-01-08 
21:25:05.579087942 +0100
+++ /work/SRC/openSUSE:Factory/.subversion.new.31432/subversion.changes 
2023-03-11 18:24:16.858955955 +0100
@@ -1,0 +2,5 @@
+Fri Mar 10 08:48:55 UTC 2023 - Dirk Müller <[email protected]>
+
+- add swig4.patch for better support with SWIG 4.x (bsc#1209110) 
+
+-------------------------------------------------------------------

New:
----
  swig4.patch

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

Other differences:
------------------
++++++ subversion.spec ++++++
--- /var/tmp/diff_new_pack.lHrALo/_old  2023-03-11 18:24:17.642960041 +0100
+++ /var/tmp/diff_new_pack.lHrALo/_new  2023-03-11 18:24:17.646960062 +0100
@@ -77,6 +77,7 @@
 # PATCH-FIX-UPSTREAM [email protected] bsc#1195486 bsc#1193778
 # Fix testCrash_RequestChannel_nativeRead_AfterException test on aarch64 and 
ppc64le
 Patch47:        fix-javahl-test.patch
+Patch48:        swig4.patch
 BuildRequires:  apache-rpm-macros
 BuildRequires:  apache2-devel >= 2.2.0
 BuildRequires:  apache2-prefork
@@ -259,6 +260,7 @@
 %patch45 -p1
 %patch46 -p1
 %patch47
+%patch48 -p1
 
 # do not use 'env python'
 sed -i -e 's#%{_bindir}/env python#%{_bindir}/python3#' 
subversion/tests/cmdline/*.py


++++++ swig4.patch ++++++
Index: subversion-1.14.2/subversion/bindings/swig/include/proxy.swg
===================================================================
--- subversion-1.14.2.orig/subversion/bindings/swig/include/proxy.swg
+++ subversion-1.14.2/subversion/bindings/swig/include/proxy.swg
@@ -66,7 +66,6 @@
         fn()
 
 %}
-#if defined(SWIGPYTHON_PY3)
 #if SWIG_VERSION >= 0x040000
 %pythoncode %{
   # -classic and -modern options have been dropped and this variable
@@ -76,7 +75,7 @@
   _set_instance_attr = 
_swig_setattr_nondynamic_instance_variable(object.__setattr__)
 
 %}
-#else
+#elif defined(SWIGPYTHON_PY3)
 %pythoncode %{
   # SWIG classes generated with -modern do not define this variable
   try:
@@ -90,7 +89,6 @@
   _set_instance_attr = _swig_setattr_nondynamic_method(object.__setattr__)
 
 %}
-#endif
 #else
 %pythoncode %{
   # SWIG classes generated with -classic do not define this variable,

Reply via email to