From 854b5d7cb18052668b686262a1d48ce7fe8e0841 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Mon, 18 Jan 2010 21:45:33 +0000 Subject: [PATCH] - Splect libsemanage.a into a static subpackage to keep fedora packaging guidelines happy --- libsemanage.spec | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/libsemanage.spec b/libsemanage.spec index 342f60f..00758c5 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -32,13 +32,22 @@ It is used by checkpolicy (the policy compiler) and similar tools, as well as by programs like load_policy that need to perform specific transformations on binary policies such as customizing policy boolean settings. +%package static +Summary: Static library used to build policy manipulation tools +Group: Development/Libraries +Requires: libsemanage-devel = %{version}-%{release} + +%description static +The semanage-static package contains the static libraries +needed for developing applications that manipulate binary policies. + %package devel Summary: Header files and libraries used to build policy manipulation tools Group: Development/Libraries Requires: libsemanage = %{version}-%{release} ustr %description devel -The semanage-devel package contains the static libraries and header files +The semanage-devel package contains the libraries and header files needed for developing applications that manipulate binary policies. %package python @@ -80,9 +89,12 @@ rm -rf ${RPM_BUILD_ROOT} %postun -p /sbin/ldconfig -%files devel +%files static %defattr(-,root,root) %{_libdir}/libsemanage.a + +%files devel +%defattr(-,root,root) %{_libdir}/libsemanage.so %{_libdir}/pkgconfig/libsemanage.pc %dir %{_includedir}/semanage @@ -93,6 +105,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/python*/site-packages/* %changelog +* Mon Jan 18 2010 Dan Walsh - 2.0.43-3 +- Splect libsemanage.a into a static subpackage to keep fedora packaging guidelines happy + * Wed Dec 16 2009 Dan Walsh - 2.0.43-2 - Rebuild all c programs with -fPIC