rpms/libuser/devel libuser.spec,1.66,1.67

Miloslav Trmac (mitr) fedora-extras-commits at redhat.com
Wed Aug 8 15:20:43 UTC 2007


Author: mitr

Update of /cvs/pkgs/rpms/libuser/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23087

Modified Files:
	libuser.spec 
Log Message:
* Wed Aug  8 2007 Miloslav Trmač <mitr at redhat.com> - 0.56.4-2
- Split the Python module to a separate subpackage (original patch by Yanko
  Kaneti)
- Update the License: tag



Index: libuser.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libuser/devel/libuser.spec,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- libuser.spec	15 Jun 2007 12:45:10 -0000	1.66
+++ libuser.spec	8 Aug 2007 15:20:11 -0000	1.67
@@ -5,9 +5,9 @@
 
 Name: libuser
 Version: 0.56.4
-Release: 1
+Release: 2
 Group: System Environment/Base
-License: LGPL
+License: LGPLv2+
 Source: libuser-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-root
 BuildRequires: glib2-devel, linuxdoc-tools, pam-devel, popt, python-devel
@@ -35,6 +35,16 @@
 The libuser-devel package contains header files, static libraries, and other
 files useful for developing applications with libuser.
 
+%package python
+Summary: Python bindings for the libuser library
+Group: Development/Libraries
+Requires: libuser = %{version}-%{release}
+
+%description python
+The libuser-python package contains the Python bindings for
+the libuser library, which provides a Python API for manipulating and
+administering user and group accounts.
+
 %prep
 %setup -q
 
@@ -70,11 +80,10 @@
 
 %files -f %{name}.lang
 %defattr(-,root,root)
-%doc AUTHORS COPYING NEWS README TODO docs/*.txt python/modules.txt
+%doc AUTHORS COPYING NEWS README TODO docs/*.txt
 %config(noreplace) %{_sysconfdir}/libuser.conf
 
 %attr(0755,root,root) %{_bindir}/*
-%{python_sitearch}/*.so
 %{_libdir}/*.so.*
 %dir %{_libdir}/%{name}
 %{_libdir}/%{name}/*.so
@@ -84,6 +93,11 @@
 
 %exclude %{_libdir}/*.la
 %exclude %{_libdir}/%{name}/*.la
+
+%files python
+%defattr(-,root,root)
+%doc python/modules.txt
+%{python_sitearch}/*.so
 %exclude %{python_sitearch}/*.la
 
 %files devel
@@ -94,6 +108,11 @@
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Wed Aug  8 2007 Miloslav Trmač <mitr at redhat.com> - 0.56.4-2
+- Split the Python module to a separate subpackage (original patch by Yanko
+  Kaneti)
+- Update the License: tag
+
 * Fri Jun 15 2007 Miloslav Trmač <mitr at redhat.com> - 0.56.4-1
 - Update the last password change date field when changing passwords
   Resolves: #243854




More information about the scm-commits mailing list