Hello community, here is the log from the commit of package libselinux for openSUSE:Factory checked in at 2019-12-21 12:40:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libselinux (Old) and /work/SRC/openSUSE:Factory/.libselinux.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libselinux" Sat Dec 21 12:40:30 2019 rev:59 rq:757383 version:2.9 Changes: -------- --- /work/SRC/openSUSE:Factory/libselinux/libselinux-bindings.changes 2019-11-17 19:20:39.814929460 +0100 +++ /work/SRC/openSUSE:Factory/.libselinux.new.6675/libselinux-bindings.changes 2019-12-21 12:40:34.179625400 +0100 @@ -1,0 +2,6 @@ +Mon Dec 16 16:04:41 UTC 2019 - Johannes Segitz <jseg...@suse.de> + +- Added swig4_moduleimport.patch to prevent import errors due to + SWIG 4 + +------------------------------------------------------------------- New: ---- swig4_moduleimport.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libselinux-bindings.spec ++++++ --- /var/tmp/diff_new_pack.Kkj9N0/_old 2019-12-21 12:40:34.615625608 +0100 +++ /var/tmp/diff_new_pack.Kkj9N0/_new 2019-12-21 12:40:34.615625608 +0100 @@ -34,6 +34,7 @@ # PATCH-FIX-UPSTREAM python3.8-compat.patch mc...@suse.com # Make linking working even when default pkg-config doesn’t provide -lpython<ver> Patch5: python3.8-compat.patch +Patch6: swig4_moduleimport.patch BuildRequires: libsepol-devel-static >= %{libsepol_ver} BuildRequires: pcre-devel BuildRequires: python-rpm-macros ++++++ swig4_moduleimport.patch ++++++ Index: libselinux-2.9/src/selinuxswig_python.i =================================================================== --- libselinux-2.9.orig/src/selinuxswig_python.i 2019-03-15 10:32:30.000000000 +0000 +++ libselinux-2.9/src/selinuxswig_python.i 2019-12-16 15:03:46.133451617 +0000 @@ -6,7 +6,7 @@ #define DISABLE_RPM #endif -%module selinux +%module(moduleimport="import $module") selinux %{ #include "selinux/selinux.h" %}