- Splect libsemanage.a into a static subpackage to keep fedora packaging
guidelines happy
This commit is contained in:
parent
bae6b411c7
commit
854b5d7cb1
@ -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
|
as by programs like load_policy that need to perform specific transformations
|
||||||
on binary policies such as customizing policy boolean settings.
|
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
|
%package devel
|
||||||
Summary: Header files and libraries used to build policy manipulation tools
|
Summary: Header files and libraries used to build policy manipulation tools
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: libsemanage = %{version}-%{release} ustr
|
Requires: libsemanage = %{version}-%{release} ustr
|
||||||
|
|
||||||
%description devel
|
%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.
|
needed for developing applications that manipulate binary policies.
|
||||||
|
|
||||||
%package python
|
%package python
|
||||||
@ -80,9 +89,12 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files devel
|
%files static
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libsemanage.a
|
%{_libdir}/libsemanage.a
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libsemanage.so
|
%{_libdir}/libsemanage.so
|
||||||
%{_libdir}/pkgconfig/libsemanage.pc
|
%{_libdir}/pkgconfig/libsemanage.pc
|
||||||
%dir %{_includedir}/semanage
|
%dir %{_includedir}/semanage
|
||||||
@ -93,6 +105,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_libdir}/python*/site-packages/*
|
%{_libdir}/python*/site-packages/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Dec 16 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.43-2
|
||||||
- Rebuild all c programs with -fPIC
|
- Rebuild all c programs with -fPIC
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user