diff --git a/libselinux-swig.patch b/libselinux-swig.patch index cab488c..a0110b4 100644 --- a/libselinux-swig.patch +++ b/libselinux-swig.patch @@ -400,6 +400,18 @@ diff -up /dev/null libselinux-2.0.14/src/selinuxswig_python.i +} + +%include "selinuxswig.i" +diff -up libselinux-2.0.14/src/Makefile.swig libselinux-2.0.14/src/Makefile +--- libselinux-2.0.14/src/Makefile.swig 2007-09-27 10:33:38.000000000 -0400 ++++ libselinux-2.0.14/src/Makefile 2007-09-27 10:30:26.000000000 -0400 +@@ -12,7 +12,7 @@ LIBVERSION = 1 + + LIBA=libselinux.a + TARGET=libselinux.so +-SWIGIF= selinuxswig.i ++SWIGIF= selinuxswig_python.i + SWIGCOUT= selinuxswig_wrap.c + SWIGLOBJ:= $(patsubst %.c,%.lo,$(SWIGCOUT)) + SWIGSO=_selinux.so diff -up libselinux-2.0.14/Makefile.swig libselinux-2.0.14/Makefile --- libselinux-2.0.14/Makefile.swig 2007-09-13 09:17:31.000000000 -0400 +++ libselinux-2.0.14/Makefile 2007-09-13 09:17:31.000000000 -0400 diff --git a/libselinux.spec b/libselinux.spec index c91a570..0d99334 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -2,7 +2,7 @@ Summary: SELinux library and simple utilities Name: libselinux Version: 2.0.14 -Release: 8%{?dist} +Release: 9%{?dist} License: Public domain (uncopyrighted) Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz @@ -126,6 +126,9 @@ exit 0 %{_libdir}/python*/site-packages/selinux.py* %changelog +* Thu Sep 27 2007 Dan Walsh - 2.0.14-9 +- Fix swig bindings + * Tue Sep 25 2007 Dan Walsh - 2.0.14-8 - Fix swig use of fsetfilecon_raw