rpms/pyparted/FC-6 .cvsignore, 1.11, 1.12 pyparted.spec, 1.26, 1.27 sources, 1.14, 1.15

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Dec 8 04:02:55 UTC 2006


Author: dcantrel

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

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-6/.cvsignore,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- .cvsignore	28 Nov 2006 18:48:47 -0000	1.11
+++ .cvsignore	8 Dec 2006 04:02:52 -0000	1.12
@@ -1 +1 @@
-pyparted-1.8.0.tar.gz
+pyparted-1.8.1.tar.gz


Index: pyparted.spec
===================================================================
RCS file: /cvs/dist/rpms/pyparted/FC-6/pyparted.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- pyparted.spec	28 Nov 2006 18:48:47 -0000	1.26
+++ pyparted.spec	8 Dec 2006 04:02:52 -0000	1.27
@@ -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-6/sources,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- sources	28 Nov 2006 18:48:47 -0000	1.14
+++ sources	8 Dec 2006 04:02:52 -0000	1.15
@@ -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