- 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
1 changed files with 8 additions and 3 deletions

View File

@ -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 <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
- Upgrade to latest from NSA
* Updated default location for setfiles to /sbin to