- Handle setfiles being in /sbin or /usr/sbin

This commit is contained in:
Daniel J Walsh 2006-06-16 17:38:35 +00:00
parent 25b23d0cd3
commit 786f3e5787

View File

@ -3,15 +3,15 @@
Summary: SELinux binary policy manipulation library Summary: SELinux binary policy manipulation library
Name: libsemanage Name: libsemanage
Version: 1.6.8 Version: 1.6.8
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-rhat.patch
BuildRoot: %{_tmppath}/%{name}-buildroot BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires: libselinux-devel >= %{libselinuxver} BuildRequires: libselinux-devel >= %{libselinuxver}
BuildRequires: libsepol >= %{libsepolver} BuildRequires: libsepol-devel >= %{libsepolver}
BuildRequires: libsepol-devel
BuildRequires: python-devel BuildRequires: python-devel
%description %description
@ -41,11 +41,13 @@ needed for developing applications that manipulate binary policies.
%prep %prep
%setup -q %setup -q
%patch -p1 -b .rhat
%build %build
make clean make clean
make CFLAGS="%{optflags}" LIBDIR="%{_libdir}" SHLIBDIR="%{_lib}" all pywrap make CFLAGS="%{optflags}" LIBDIR="%{_libdir}" SHLIBDIR="%{_lib}" all pywrap
%install %install
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}/%{_lib} mkdir -p ${RPM_BUILD_ROOT}/%{_lib}
@ -75,6 +77,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Fri Jun 16 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.8-2
- Handle setfiles being in /sbin or /usr/sbin
* Mon May 15 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.8-1 * Mon May 15 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.8-1
- Upgrade to latest from NSA - Upgrade to latest from NSA
* Updated default location for setfiles to /sbin to * Updated default location for setfiles to /sbin to