rpms/libcap-ng/F-10 libcap-ng.spec,1.5,1.6 sources,1.5,1.6

Steve Grubb sgrubb at fedoraproject.org
Mon Jun 29 18:05:42 UTC 2009


Author: sgrubb

Update of /cvs/pkgs/rpms/libcap-ng/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28806

Modified Files:
	libcap-ng.spec sources 
Log Message:
* Mon Jun 29 2009 Steve Grubb <sgrubb at redhat.com> 0.6-1
- New upstream release



Index: libcap-ng.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libcap-ng/F-10/libcap-ng.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- libcap-ng.spec	21 Jun 2009 17:14:06 -0000	1.5
+++ libcap-ng.spec	29 Jun 2009 18:05:12 -0000	1.6
@@ -1,6 +1,8 @@
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
 Summary: An alternate posix capabilities library
 Name: libcap-ng
-Version: 0.5.1
+Version: 0.6
 Release: 1%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
@@ -24,6 +26,17 @@ Requires: %{name} = %{version}-%{release
 The libcap-ng-devel package contains the files needed for developing
 applications that need to use the libcap-ng library.
 
+%package python
+Summary: Python bindings for libcap-ng library
+License: LGPLv2+
+Group: Development/Libraries
+BuildRequires: python-devel swig
+Requires: %{name} = %{version}-%{release}
+
+%description python
+The libcap-ng-python package contains the bindings so that libcap-ng
+and can be used by python applications.
+
 %package utils
 Summary: Utilities for analysing and setting file capabilities
 License: GPLv2+
@@ -55,6 +68,8 @@ ln -s ../../%{_lib}/$LIBNAME $RPM_BUILD_
 # Remove a couple things so they don't get picked up
 rm -f $RPM_BUILD_ROOT/%{_lib}/libcap-ng.la
 rm -f $RPM_BUILD_ROOT/%{_lib}/libcap-ng.a
+rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/_capng.a
+rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/_capng.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -74,6 +89,12 @@ rm -rf $RPM_BUILD_ROOT
 %attr(0644,root,root) %{_mandir}/man3/*
 %attr(0644,root,root) %{_includedir}/cap-ng.h
 %attr(0755,root,root) %{_libdir}/libcap-ng.so
+%attr(0644,root,root) %{_datadir}/aclocal/cap-ng.m4
+
+%files python
+%defattr(-,root,root,-)
+%attr(755,root,root) /%{_libdir}/python?.?/site-packages/_capng.so
+%{python_sitearch}/capng.py*
 
 %files utils
 %defattr(-,root,root,-)
@@ -82,6 +103,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(0644,root,root) %{_mandir}/man8/*
 
 %changelog
+* Mon Jun 29 2009 Steve Grubb <sgrubb at redhat.com> 0.6-1
+- New upstream release
+
 * Sun Jun 21 2009 Steve Grubb <sgrubb at redhat.com> 0.5.1-1
 - New upstream release
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libcap-ng/F-10/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- sources	21 Jun 2009 17:14:06 -0000	1.5
+++ sources	29 Jun 2009 18:05:12 -0000	1.6
@@ -1 +1 @@
-5323d01bb55fbd2586db28e3547df6c4  libcap-ng-0.5.1.tar.gz
+09adb3049eb6c2a1f621a67fc079318e  libcap-ng-0.6.tar.gz




More information about the fedora-extras-commits mailing list