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