forked from pool/libselinux
bdda6228da
- Added swig4_moduleimport.patch to prevent import errors due to SWIG 4 OBS-URL: https://build.opensuse.org/request/show/757382 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=120
14 lines
431 B
Diff
14 lines
431 B
Diff
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"
|
|
%}
|