diff -r bc3cd9a53ab5 -r 5ae423a55bed python-parted/python-parted.spec --- a/python-parted/python-parted.spec Thu May 26 15:49:15 2011 +0200 +++ b/python-parted/python-parted.spec Thu May 26 15:50:52 2011 +0200 @@ -1,49 +1,29 @@ %define modname pyparted Name: python-parted -%if %suse_version > 1020 -Version: 1.8.9 -%else -Version: 1.7.3 -%endif -Release: 10.1 +Version: 3.6 +Release: MSvB_1 Summary: Python Module for GNU Parted -URL: http://people.redhat.com/dcantrel/pyparted +URL: https://fedorahosted.org/pyparted/ License: GNU General Public License (GPL) Group: Development/Libraries/Python -Source: %{modname}-%{version}.tar.bz2 +Source: https://fedorahosted.org/releases/p/y/pyparted/%{modname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-buildroot %{py_requires} +BuildRequires: gcc pkg-config BuildRequires: e2fsprogs-devel parted-devel python-devel -%if %suse_version > 1000 -BuildRequires: pkg-config -%else -BuildRequires: pkgconfig -%endif %description -Python interface to GNU parted. - -GNU Parted is a program for creating, destroying, resizing, checking, +Python-parted is the python interface to GNU Parted, +a program for creating, destroying, resizing, checking, and copying partitions, and the file systems on them. -Authors: --------- - David Cantrell - Matt Wilson - Jeremy Katz - Peter Jones - Chris Lumens - %prep %setup -q -n %{modname}-%{version} %build export CFLAGS="$RPM_OPT_FLAGS" -%if %suse_version < 1030 -%configure ||: -cat config.log -%endif -make +%configure +make %{?_smp_mflags} %install %makeinstall @@ -54,10 +34,13 @@ %files %defattr(-,root,root) %doc README COPYING AUTHORS ChangeLog -%{py_sitedir}/partedmodule.so +%{py_sitedir}/* %changelog +* Thu May 26 2011 Michael Schloh von Bennewitz - 3.6-MSvB_1 +- Update to 3.6 + * Wed Jun 25 2008 - James Oakley - 1.8.9-1 - Update to 1.8.9