From fa0215ab2a229cfe8ab1ca298997f97b29769c6c Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 9 Sep 2008 19:07:33 +0000 Subject: [PATCH] - Split out utilities --- libselinux.spec | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/libselinux.spec b/libselinux.spec index 50fa57b..bb1c6c1 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -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 - 2.0.71-3 +- Split out utilities + * Tue Sep 9 2008 Dan Walsh - 2.0.71-2 - Add missing man page links for [lf]getfilecon