- Splect libsemanage.a into a static subpackage to keep fedora packaging

guidelines happy
This commit is contained in:
Daniel J Walsh 2010-01-18 21:45:33 +00:00
parent bae6b411c7
commit 854b5d7cb1
1 changed files with 17 additions and 2 deletions

View File

@ -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 <dwalsh@redhat.com> - 2.0.43-3
- Splect libsemanage.a into a static subpackage to keep fedora packaging guidelines happy
* Wed Dec 16 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.43-2
- Rebuild all c programs with -fPIC