rpms/libselinux/devel libselinux.spec,1.307,1.308

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


Author: dwalsh

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

Modified Files:
	libselinux.spec 
Log Message:
* Mon Jan 21 2008 Dan Walsh <dwalsh at redhat.com> - 2.0.47-4
- Update to use libsepol-static library



Index: libselinux.spec
===================================================================
RCS file: /cvs/extras/rpms/libselinux/devel/libselinux.spec,v
retrieving revision 1.307
retrieving revision 1.308
diff -u -r1.307 -r1.308
--- libselinux.spec	15 Jan 2008 13:49:29 -0000	1.307
+++ libselinux.spec	21 Jan 2008 21:42:38 -0000	1.308
@@ -1,15 +1,17 @@
-%define libsepolver 2.0.10-1
+%define libsepolver 2.0.18-2
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
 Summary: SELinux library and simple utilities
 Name: libselinux
 Version: 2.0.47
-Release: 2%{?dist}
+Release: 4%{?dist}
 License: Public Domain
 Group: System Environment/Libraries
 Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
 Patch: libselinux-rhat.patch
 URL: http://www.nsa.gov/selinux
 
-BuildRequires: python-devel libsepol-devel >= %{libsepolver} swig
+BuildRequires: python-devel libsepol-static >= %{libsepolver} swig
 Requires: libsepol >= %{libsepolver}
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -44,7 +46,16 @@
 Requires: libsepol-devel >= %{libsepolver}
 
 %description devel
-The libselinux-devel package contains the static libraries and header files
+The libselinux-devel package contains the libraries and header files
+needed for developing SELinux applications. 
+
+%package static
+Summary: Static libraries used to build SELinux
+Group: Development/Libraries
+Requires: libselinux-devel = %{version}-%{release}
+
+%description static
+The libselinux-static package contains the static libraries
 needed for developing SELinux applications. 
 
 %prep
@@ -96,7 +107,7 @@
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,0755)
+%defattr(-,root,root,-)
 /%{_lib}/libselinux.so.*
 %{_sbindir}/avcstat
 %{_sbindir}/getenforce
@@ -110,19 +121,29 @@
 /var/run/setrans
 
 %files devel
-%defattr(-,root,root)
-%{_libdir}/libselinux.a
+%defattr(-,root,root,-)
 %{_libdir}/libselinux.so
 %dir %{_includedir}/selinux
 %{_includedir}/selinux/*
 %{_mandir}/man3/*
 
+%files static
+%defattr(-,root,root,-)
+%{_libdir}/libselinux.a
+
 %files python
-%defattr(-,root,root,0755)
-%dir %{_libdir}/python*/site-packages/selinux
-%{_libdir}/python*/site-packages/selinux/*
+%defattr(-,root,root,-)
+%dir %{python_sitearch}/selinux
+%{python_sitearch}/selinux/*
 
 %changelog
+* Mon Jan 21 2008 Dan Walsh <dwalsh at redhat.com> - 2.0.47-4
+- Update to use libsepol-static library
+
+* Wed Jan 16 2008 Adel Gadllah <adel.gadllah at gmail.com> - 2.0.47-3
+- Move libselinux.a to -static package
+- Spec cleanups
+
 * Tue Jan 15 2008 Dan Walsh <dwalsh at redhat.com> - 2.0.47-2
 - Put back libselinux.a
 




More information about the fedora-extras-commits mailing list