Updated 2 previous patches to output Usage before checking if selinux is

enabled. Apply a patch that fixes signed/unsigned issues and a memory
    leak.
This commit is contained in:
Steve Grubb 2004-11-01 18:56:08 +00:00
parent 76a08583da
commit 1d320842ce
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,7 @@ Patch4: libselinux-1.17.14-getsebool.patch
Patch5: libselinux-1.17.14-matchpathcon.patch
Patch6: libselinux-1.17.14-setenforce.patch
Patch7: libselinux-1.17.14-setsebool.patch
Patch8: libselinux-1.17.15-cleanup.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description
@ -49,6 +50,7 @@ needed for developing SELinux applications.
%patch5 -p1 -b .matchpath
%patch6 -p1 -b .setenforce
%patch7 -p1 -b .setsebool
%patch8 -p1 -b .cleanup
%build
make CFLAGS="-g %{optflags}"
@ -66,9 +68,11 @@ rm -f ${RPM_BUILD_ROOT}%{_sbindir}/compute_*
rm -f ${RPM_BUILD_ROOT}%{_sbindir}/deftype
rm -f ${RPM_BUILD_ROOT}%{_sbindir}/execcon
rm -f ${RPM_BUILD_ROOT}%{_sbindir}/getcon
rm -f ${RPM_BUILD_ROOT}%{_sbindir}/getconlist
rm -f ${RPM_BUILD_ROOT}%{_sbindir}/getenforcemode
rm -f ${RPM_BUILD_ROOT}%{_sbindir}/getfilecon
rm -f ${RPM_BUILD_ROOT}%{_sbindir}/getpidcon
rm -f ${RPM_BUILD_ROOT}%{_sbindir}/matchpathcon
rm -f ${RPM_BUILD_ROOT}%{_sbindir}/mkdircon
rm -f ${RPM_BUILD_ROOT}%{_sbindir}/policyvers
rm -f ${RPM_BUILD_ROOT}%{_sbindir}/setfilecon