- Add swigify patch from Joshua Brindle

This commit is contained in:
Daniel J Walsh 2005-11-11 18:53:06 +00:00
parent bb7c4a72ee
commit a7114403d6

View File

@ -2,10 +2,12 @@
Summary: SELinux binary policy manipulation library Summary: SELinux binary policy manipulation library
Name: libsemanage Name: libsemanage
Version: 1.3.53 Version: 1.3.53
Release: 1 Release: 2
License: GPL License: GPL
Group: System Environment/Libraries Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/libsemanage-%{version}.tgz Source: http://www.nsa.gov/selinux/archives/libsemanage-%{version}.tgz
Patch: libsemanage-swigify.patch
BuildRoot: %{_tmppath}/%{name}-buildroot BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires: libselinux-devel >= %{libselinuxver} BuildRequires: libselinux-devel >= %{libselinuxver}
@ -36,6 +38,7 @@ needed for developing applications that manipulate binary policies.
%prep %prep
%setup -q %setup -q
%patch -p1 -b .swigify
%build %build
make CFLAGS="%{optflags}" make CFLAGS="%{optflags}"
@ -55,6 +58,10 @@ rm -rf ${RPM_BUILD_ROOT}
%config(noreplace) /etc/selinux/semanage.conf %config(noreplace) /etc/selinux/semanage.conf
/%{_lib}/libsemanage.so.1 /%{_lib}/libsemanage.so.1
%{_libdir}/libsemanage.so %{_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 %post -p /sbin/ldconfig
@ -66,6 +73,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_includedir}/semanage/*.h %{_includedir}/semanage/*.h
%changelog %changelog
* Fri Nov 11 2005 Dan Walsh <dwalsh@redhat.com> 1.3.53-2
- Add swigify patch from Joshua Brindle
* Fri Nov 11 2005 Dan Walsh <dwalsh@redhat.com> 1.3.53-1 * Fri Nov 11 2005 Dan Walsh <dwalsh@redhat.com> 1.3.53-1
- Upgrade to latest from NSA - Upgrade to latest from NSA
* Merged move seuser validation patch from Ivan Gyurdiev. * Merged move seuser validation patch from Ivan Gyurdiev.