[pyparted] Upgraded to pyparted-3.8

David Cantrell dcantrel at fedoraproject.org
Wed Jun 29 19:57:46 UTC 2011


commit b125d0431a8101f08760156d6317b232269d8566
Author: David Cantrell <david.l.cantrell at gmail.com>
Date:   Wed Jun 29 15:46:10 2011 -0400

    Upgraded to pyparted-3.8

 .gitignore    |    2 +-
 pyparted.spec |   16 ++++++++++------
 sources       |    2 +-
 3 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 57ed1d7..9b549a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-pyparted-3.7.tar.gz
+pyparted-3.8.tar.gz
diff --git a/pyparted.spec b/pyparted.spec
index 3878bc3..d0ef029 100644
--- a/pyparted.spec
+++ b/pyparted.spec
@@ -1,8 +1,6 @@
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-
 Summary: Python module for GNU parted
 Name:    pyparted
-Version: 3.7
+Version: 3.8
 Release: 1%{?dist}
 License: GPLv2+
 Group:   System Environment/Libraries
@@ -12,7 +10,7 @@ Source0: http://fedorahosted.org/releases/p/y/%{name}/%{name}-%{version}.tar.gz
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
 BuildRequires: python-devel
-BuildRequires: parted-devel >= 2.3
+BuildRequires: parted-devel >= 3.0
 BuildRequires: pkgconfig
 
 %description
@@ -23,13 +21,11 @@ partition tables.
 %setup -q
 
 %build
-%configure
 make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
 make install DESTDIR=%{buildroot}
-rm -rf %{buildroot}%{python_sitearch}/_pedmodule.la
 
 %clean
 rm -rf %{buildroot}
@@ -39,8 +35,16 @@ rm -rf %{buildroot}
 %doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
 %{python_sitearch}/_pedmodule.so
 %{python_sitearch}/parted
+%{python_sitearch}/%{name}-%{version}-*.egg-info
 
 %changelog
+* Wed Jun 29 2011 David Cantrell <dcantrell at redhat.com> - 3.8-1
+- Upgraded to pyparted-3.8
+
+* Wed Jun 29 2011 David Cantrell <dcantrell at redhat.com> - 3.7-2
+- BR parted-devel >= 3.0
+- Adjust for distutils build method
+
 * Wed Jun 29 2011 David Cantrell <dcantrell at redhat.com> - 3.7-1
 - Upgraded to pyparted-3.7 (compatibility with parted-3.0)
 
diff --git a/sources b/sources
index 9d83b4b..bb03c19 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c7212ef1880c93f9159f25e4305b6b9c  pyparted-3.7.tar.gz
+e9cd0c94c71ac17755f71a8e1561eac2  pyparted-3.8.tar.gz


More information about the scm-commits mailing list