Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libselinux for openSUSE:Factory
checked in at 2024-10-16 23:35:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libselinux (Old)
and /work/SRC/openSUSE:Factory/.libselinux.new.19354 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libselinux"
Wed Oct 16 23:35:03 2024 rev:80 rq:1208113 version:3.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/libselinux/libselinux-bindings.changes
2024-07-12 17:04:35.948021609 +0200
+++
/work/SRC/openSUSE:Factory/.libselinux.new.19354/libselinux-bindings.changes
2024-10-16 23:35:14.852190326 +0200
@@ -1,0 +2,6 @@
+Tue Oct 15 11:42:31 UTC 2024 - Cathy Hu <[email protected]>
+
+- Add 1231587-build-libselinux-with-swig-4.3.0.patch to fix build
+ failure with swig 4.3.0 (bsc#1231587)
+
+-------------------------------------------------------------------
New:
----
1231587-build-libselinux-with-swig-4.3.0.patch
BETA DEBUG BEGIN:
New:/work/SRC/openSUSE:Factory/.libselinux.new.19354/libselinux-bindings.changes-
/work/SRC/openSUSE:Factory/.libselinux.new.19354/libselinux-bindings.changes:-
Add 1231587-build-libselinux-with-swig-4.3.0.patch to fix build
/work/SRC/openSUSE:Factory/.libselinux.new.19354/libselinux-bindings.changes-
failure with swig 4.3.0 (bsc#1231587)
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libselinux-bindings.spec ++++++
--- /var/tmp/diff_new_pack.K4ZqjL/_old 2024-10-16 23:35:17.768311956 +0200
+++ /var/tmp/diff_new_pack.K4ZqjL/_new 2024-10-16 23:35:17.772312123 +0200
@@ -39,6 +39,9 @@
# Make linking working even when default pkg-config doesnât provide
-lpython<ver>
Patch6: python3.8-compat.patch
Patch7: swig4_moduleimport.patch
+%if %{pkg_vcmp swig > 4.2.1}
+Patch8: 1231587-build-libselinux-with-swig-4.3.0.patch
+%endif
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
++++++ 1231587-build-libselinux-with-swig-4.3.0.patch ++++++
Index: libselinux-3.7/src/selinuxswig_python.i
===================================================================
--- libselinux-3.7.orig/src/selinuxswig_python.i
+++ libselinux-3.7/src/selinuxswig_python.i
@@ -71,7 +71,7 @@ def install(src, dest):
for (i = 0; i < *$2; i++) {
PyList_SetItem(list, i, PyString_FromString((*$1)[i]));
}
- $result = SWIG_Python_AppendOutput($result, list);
+ $result = SWIG_Python_AppendOutput($result, list, $isvoid);
}
/* return a sid along with the result */
@@ -108,7 +108,7 @@ def install(src, dest):
plist = PyList_New(0);
}
- $result = SWIG_Python_AppendOutput($result, plist);
+ $result = SWIG_Python_AppendOutput($result, plist, $isvoid);
}
/* Makes functions in get_context_list.h return a Python list of contexts */