- Split out utilities

This commit is contained in:
Daniel J Walsh 2008-09-09 19:07:33 +00:00
parent ac4e772e3d
commit fa0215ab2a

View File

@ -5,7 +5,7 @@
Summary: SELinux library and simple utilities
Name: libselinux
Version: 2.0.71
Release: 2%{?dist}
Release: 3%{?dist}
License: Public Domain
Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
@ -31,6 +31,14 @@ libselinux provides an API for SELinux applications to get and set
process and file security contexts and to obtain security policy
decisions. Required for any applications that use the SELinux API.
%package utils
Summary: SELinux libselinux utilies
Group: Development/Libraries
Requires: libselinux = %{version}-%{release}
%description utils
The libselinux-utils package contains the utilities
%package python
Summary: SELinux python bindings for libselinux
Group: Development/Libraries
@ -118,6 +126,10 @@ exit 0
%files
%defattr(-,root,root,-)
/%{_lib}/libselinux.so.*
/var/run/setrans
%files utils
%defattr(-,root,root,-)
%{_sbindir}/avcstat
%{_sbindir}/getenforce
%{_sbindir}/getsebool
@ -129,7 +141,6 @@ exit 0
%{_sbindir}/togglesebool
%{_mandir}/man5/*
%{_mandir}/man8/*
/var/run/setrans
%files devel
%defattr(-,root,root,-)
@ -152,6 +163,9 @@ exit 0
%{ruby_sitearch}/selinux.so
%changelog
* Tue Sep 9 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.71-3
- Split out utilities
* Tue Sep 9 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.71-2
- Add missing man page links for [lf]getfilecon