diff --git a/libsemanage.spec b/libsemanage.spec index a53457f..0c2427f 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -3,15 +3,15 @@ Summary: SELinux binary policy manipulation library Name: libsemanage Version: 1.6.8 -Release: 1 +Release: 2 License: GPL Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/libsemanage-%{version}.tgz +Patch: libsemanage-rhat.patch BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: libselinux-devel >= %{libselinuxver} -BuildRequires: libsepol >= %{libsepolver} -BuildRequires: libsepol-devel +BuildRequires: libsepol-devel >= %{libsepolver} BuildRequires: python-devel %description @@ -41,11 +41,13 @@ needed for developing applications that manipulate binary policies. %prep %setup -q +%patch -p1 -b .rhat %build make clean make CFLAGS="%{optflags}" LIBDIR="%{_libdir}" SHLIBDIR="%{_lib}" all pywrap + %install rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}/%{_lib} @@ -75,6 +77,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_mandir}/man3/* %changelog +* Fri Jun 16 2006 Dan Walsh - 1.6.8-2 +- Handle setfiles being in /sbin or /usr/sbin + * Mon May 15 2006 Dan Walsh - 1.6.8-1 - Upgrade to latest from NSA * Updated default location for setfiles to /sbin to