From dd1def25511526e2557203bf9d8fd4fcd1f2f42b Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Fri, 15 Aug 2008 16:59:10 +0000 Subject: [PATCH] - Don't rebuild on fcontext or seuser modifications --- libsemanage.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/libsemanage.spec b/libsemanage.spec index c9e09e2..a021269 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -39,6 +39,15 @@ Requires: libsemanage = %{version}-%{release} ustr The semanage-devel package contains the static libraries and header files needed for developing applications that manipulate binary policies. +%package python +Summary: semanage python bindings for libsemanage +Group: Development/Libraries +Requires: libsemanage = %{version}-%{release} + +%description python +The libsemanage-python package contains the python bindings for developing +SELinux management applications. + %prep %setup -q %patch -p1 -b .rhat @@ -63,7 +72,6 @@ rm -rf ${RPM_BUILD_ROOT} %defattr(-,root,root) %config(noreplace) /etc/selinux/semanage.conf /%{_lib}/libsemanage.so.1 -%{_libdir}/python*/site-packages/* %post -p /sbin/ldconfig @@ -77,6 +85,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_includedir}/semanage/*.h %{_mandir}/man3/* +%files python +%{_libdir}/python*/site-packages/* + %changelog * Tue Aug 5 2008 Dan Walsh - 2.0.27-2 - Don't rebuild on fcontext or seuser modifications