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