From a7114403d6a3ade4979f170b5b263654d0623854 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Nov 11 2005 18:53:06 +0000 Subject: - Add swigify patch from Joshua Brindle --- diff --git a/libsemanage.spec b/libsemanage.spec index 2cb6c7e..fe6d9c3 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -2,10 +2,12 @@ Summary: SELinux binary policy manipulation library Name: libsemanage Version: 1.3.53 -Release: 1 +Release: 2 License: GPL Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/libsemanage-%{version}.tgz +Patch: libsemanage-swigify.patch + BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: libselinux-devel >= %{libselinuxver} @@ -36,6 +38,7 @@ needed for developing applications that manipulate binary policies. %prep %setup -q +%patch -p1 -b .swigify %build make CFLAGS="%{optflags}" @@ -55,6 +58,10 @@ rm -rf ${RPM_BUILD_ROOT} %config(noreplace) /etc/selinux/semanage.conf /%{_lib}/libsemanage.so.1 %{_libdir}/libsemanage.so +%{_libdir}/python2.4/site-packages/_semanage.so +%{_libdir}/python2.4/site-packages/semanage.py +%{_libdir}/python2.4/site-packages/semanage.pyc +%{_libdir}/python2.4/site-packages/semanage.pyo %post -p /sbin/ldconfig @@ -66,6 +73,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_includedir}/semanage/*.h %changelog +* Fri Nov 11 2005 Dan Walsh 1.3.53-2 +- Add swigify patch from Joshua Brindle + * Fri Nov 11 2005 Dan Walsh 1.3.53-1 - Upgrade to latest from NSA * Merged move seuser validation patch from Ivan Gyurdiev.