rpms/pyparted/FC-5 .cvsignore, 1.9, 1.10 pyparted.spec, 1.22, 1.23 sources, 1.12, 1.13

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Dec 8 00:02:50 UTC 2006


Author: dcantrel

Update of /cvs/dist/rpms/pyparted/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv1255

Modified Files:
	.cvsignore pyparted.spec sources 
Log Message:
* Thu Dec 07 2006 David Cantrell <dcantrell at redhat.com> - 1.8.1-1
- Upgrade to pyparted-1.8.1
- Determine Python version to use in %%build so the source RPM is more
  easily moved between distribution releases.



Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/pyparted/FC-5/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore	28 Nov 2006 19:01:21 -0000	1.9
+++ .cvsignore	8 Dec 2006 00:02:48 -0000	1.10
@@ -1 +1 @@
-pyparted-1.8.0.tar.gz
+pyparted-1.8.1.tar.gz


Index: pyparted.spec
===================================================================
RCS file: /cvs/dist/rpms/pyparted/FC-5/pyparted.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- pyparted.spec	28 Nov 2006 19:01:21 -0000	1.22
+++ pyparted.spec	8 Dec 2006 00:02:48 -0000	1.23
@@ -1,6 +1,6 @@
 Summary: Python module for GNU parted
 Name:    pyparted
-Version: 1.8.0
+Version: 1.8.1
 Release: 1%{?dist}
 License: GPL
 Group:   System Environment/Libraries
@@ -8,8 +8,8 @@
 Source0: http://people.redhat.com/dcantrel/%{name}/%{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
-BuildRequires: python-devel, parted-devel >= 1.8.0
-Requires: parted >= 1.8.0
+BuildRequires: python-devel, parted-devel >= 1.8.1
+Requires: parted >= 1.8.1
 
 %description
 Python modules for the parted library.  It is used for manipulation
@@ -20,10 +20,11 @@
 
 %build
 export CFLAGS="-fPIC -O2 -g2"
+PYVER=$(%{__python} -c "import sys; print sys.version[:3]")
 if [ ! -x configure ]; then
-	./autogen.sh --with-python-version=2.4
+	./autogen.sh --with-python-version=$PYVER
 fi
-%configure --with-python-version=2.4
+%configure --with-python-version=$PYVER
 make
 
 %install
@@ -40,6 +41,11 @@
 %{_libdir}/python?.?/site-packages/*.so
 
 %changelog
+* Thu Dec 07 2006 David Cantrell <dcantrell at redhat.com> - 1.8.1-1
+- Upgrade to pyparted-1.8.1
+- Determine Python version to use in %%build so the source RPM is more
+  easily moved between distribution releases.
+
 * Tue Nov 28 2006 David Cantrell <dcantrell at redhat.com> - 1.8.0-1
 - Bump version to 1.8.0 and require parted >= 1.8.0
 - Remove python-abi Requires line since rpm handles that automatically


Index: sources
===================================================================
RCS file: /cvs/dist/rpms/pyparted/FC-5/sources,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- sources	28 Nov 2006 19:01:21 -0000	1.12
+++ sources	8 Dec 2006 00:02:48 -0000	1.13
@@ -1 +1 @@
-24530536b583a451a8ab29292c54f4f0  pyparted-1.8.0.tar.gz
+96806167072325ef52eb7bae4db52653  pyparted-1.8.1.tar.gz




More information about the fedora-cvs-commits mailing list