- Start shipping sedismod and sedispol

This commit is contained in:
Daniel J Walsh 2008-02-22 19:33:37 +00:00
parent 88d15070c2
commit 35299999e4
1 changed files with 10 additions and 1 deletions

View File

@ -2,7 +2,7 @@
Summary: SELinux policy compiler
Name: checkpolicy
Version: 2.0.9
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL
Group: Development/System
Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
@ -30,11 +30,15 @@ Only required for building policies.
%build
make clean
make LIBDIR="%{_libdir}" CFLAGS="%{optflags}"
cd test
make LIBDIR="%{_libdir}" CFLAGS="%{optflags}"
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
make LIBDIR="%{_libdir}" DESTDIR="${RPM_BUILD_ROOT}" install
install test/dismod ${RPM_BUILD_ROOT}%{_bindir}/sedismod
install test/dispol ${RPM_BUILD_ROOT}%{_bindir}/sedispol
%clean
rm -rf ${RPM_BUILD_ROOT}
@ -45,8 +49,13 @@ rm -rf ${RPM_BUILD_ROOT}
%{_bindir}/checkmodule
%{_mandir}/man8/checkpolicy.8.gz
%{_mandir}/man8/checkmodule.8.gz
%{_bindir}/sedismod
%{_bindir}/sedispol
%changelog
* Fri Feb 22 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.9-2
- Start shipping sedismod and sedispol
* Mon Feb 4 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.9-1
- Latest update from NSA
* Update dispol for libsepol avtab changes from Stephen Smalley.