rpms/libsepol/devel libsepol.spec,1.170,1.171

Daniel J Walsh (dwalsh) fedora-extras-commits at redhat.com
Mon Jan 21 20:43:27 UTC 2008


Author: dwalsh

Update of /cvs/extras/rpms/libsepol/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7286

Modified Files:
	libsepol.spec 
Log Message:
* Mon Jan 21 2008 Dan Walsh <dwalsh at redhat.com> 2.0.18-2
- Fixed for spec review



Index: libsepol.spec
===================================================================
RCS file: /cvs/extras/rpms/libsepol/devel/libsepol.spec,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -r1.170 -r1.171
--- libsepol.spec	11 Jan 2008 18:52:04 -0000	1.170
+++ libsepol.spec	21 Jan 2008 20:42:49 -0000	1.171
@@ -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 @@
 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 @@
 
 %build
 make clean
-make CFLAGS="%{optflags}"
+make %{?_smp_mflags} CFLAGS="%{optflags}"
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
@@ -71,14 +79,17 @@
 
 %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 @@
 /%{_lib}/libsepol.so.1
 
 %changelog
+* Mon Jan 21 2008 Dan Walsh <dwalsh at redhat.com> 2.0.18-2
+- Fixed for spec review
+
 * Fri Jan 11 2008 Dan Walsh <dwalsh at redhat.com> 2.0.18-1
 - Upgrade to latest from NSA
 	* Added support for policy capabilities from Todd Miller.




More information about the fedora-extras-commits mailing list