- Fixed for spec review
This commit is contained in:
parent
66f43a65e2
commit
0ab5c85098
@ -2,14 +2,13 @@
|
||||
Summary: SELinux binary policy manipulation library
|
||||
Name: libsepol
|
||||
Version: 2.0.18
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
Source: http://www.nsa.gov/selinux/archives/libsepol-%{version}.tgz
|
||||
URL: http://www.selinuxproject.org
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Provides: libsepol.so
|
||||
|
||||
%description
|
||||
Security-enhanced Linux is a feature of the Linux® kernel and a number
|
||||
@ -33,7 +32,16 @@ Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The libsepol-devel package contains the static libraries and header files
|
||||
The libsepol-devel package contains the libraries and header files
|
||||
needed for developing applications that manipulate binary policies.
|
||||
|
||||
%package static
|
||||
Summary: static libraries used to build policy manipulation tools
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-devel = %{version}-%{release}
|
||||
|
||||
%description static
|
||||
The libsepol-static package contains the static libraries and header files
|
||||
needed for developing applications that manipulate binary policies.
|
||||
|
||||
%prep
|
||||
@ -45,7 +53,7 @@ sed -i 's/fpic/fPIC/g' src/Makefile
|
||||
|
||||
%build
|
||||
make clean
|
||||
make CFLAGS="%{optflags}"
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
@ -71,14 +79,17 @@ exit 0
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files devel
|
||||
%files static
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libsepol.a
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libsepol.so
|
||||
%{_includedir}/sepol/*.h
|
||||
%{_mandir}/man3/*.3.gz
|
||||
%dir %{_includedir}/sepol
|
||||
%dir %{_includedir}/sepol/policydb
|
||||
p%dir %{_includedir}/sepol/policydb
|
||||
%{_includedir}/sepol/policydb/*.h
|
||||
|
||||
%files
|
||||
@ -86,6 +97,9 @@ exit 0
|
||||
/%{_lib}/libsepol.so.1
|
||||
|
||||
%changelog
|
||||
* Mon Jan 21 2008 Dan Walsh <dwalsh@redhat.com> 2.0.18-2
|
||||
- Fixed for spec review
|
||||
|
||||
* Fri Jan 11 2008 Dan Walsh <dwalsh@redhat.com> 2.0.18-1
|
||||
- Upgrade to latest from NSA
|
||||
* Added support for policy capabilities from Todd Miller.
|
||||
|
Loading…
Reference in New Issue
Block a user