Compare commits

...
Sign in to create a new pull request.

22 commits

Author SHA1 Message Date
David Cantrell
8f1db77477 Upgrade to pyparted-3.10.4 for multiple fixes and to add a Python 3
subpackage (#1196402)
2015-05-05 09:47:15 -04:00
David Cantrell
0f87bbcfeb Upgrade to pyparted-3.10.4 for multiple fixes and to add a Python 3
subpackage (#1196402)
2015-05-05 09:37:38 -04:00
David Cantrell
3404ffe17b Upgrade to pyparted-3.10.4 for multiple fixes and to add a Python 3
subpackage (#1196402)
2015-05-05 08:55:52 -04:00
David Cantrell
8c89f71bca Add Python 3 subpackage (#1196402) 2015-04-24 16:34:49 -04:00
David Cantrell
ee2ec6a656 Add Python 3 subpackage (#1196402) 2015-04-24 16:16:03 -04:00
David Cantrell
9ecfa2114b Add Python 3 subpackage (#1196402) 2015-04-24 16:03:31 -04:00
David Cantrell
f8a84b4ea1 Add Python 3 subpackage (#1196402) 2015-04-24 15:31:24 -04:00
David Cantrell
6ce3efea74 Add Python 3 subpackage (#1196402) 2015-04-24 15:14:24 -04:00
David Cantrell
18fef2b4f3 Add Python 3 subpackage (#1196402) 2015-04-24 15:05:46 -04:00
David Cantrell
a2b9d33dcd Add Python 3 subpackage (#1196402) 2015-04-24 14:53:05 -04:00
David Cantrell
c58dcd32b1 Add Python 3 subpackage (#1196402) 2015-04-24 14:47:26 -04:00
David Cantrell
f89295ccd2 Add Python 3 subpackage (#1196402) 2015-04-24 14:30:17 -04:00
David Cantrell
3a3ef55da8 Add Python 3 subpackage (#1196402) 2015-04-24 14:22:08 -04:00
David Cantrell
a1060dff7a Add Python 3 subpackage (#1196402) 2015-04-24 14:17:11 -04:00
David Cantrell
5643ba66b0 Add Python 3 subpackage (#1196402) 2015-04-24 14:07:12 -04:00
David Cantrell
0d03a735dd Add Python 3 subpackage (#1196402) 2015-04-24 14:04:12 -04:00
David Cantrell
a50fa11585 Add Python 3 subpackage (#1196402) 2015-04-24 13:22:54 -04:00
Adam Williamson
621cb0c7aa backport resetNumber() function from 3.10 (for RHBZ #1166598) 2014-12-02 00:14:53 -08:00
Adam Williamson
b3664bfc34 Revert "Upgrade to pyparted-3.10.2"
this reverts the previous three commits and returns us to
3.9.5-2 state. 3.10 should never have landed in f21, we need
a 3.9.5 with the single required new function backported.
2014-12-01 23:52:40 -08:00
David Cantrell
d13f4de811 Upgrade to pyparted-3.10.2 2014-11-26 10:19:59 -05:00
David Cantrell
6fb03fbad5 Upgrade to pyparted-3.10.2 2014-11-26 09:48:18 -05:00
David Cantrell
62102d2a5f Upgrade to pyparted-3.10.2 2014-11-26 09:38:27 -05:00
3 changed files with 63 additions and 12 deletions

5
.gitignore vendored
View file

@ -1,4 +1 @@
pyparted-3.9.2.tar.gz
/pyparted-3.9.3.tar.gz
/pyparted-3.9.4.tar.gz
/pyparted-3.9.5.tar.gz
/pyparted-pyparted-3.10.4.tar.gz

View file

@ -1,16 +1,21 @@
%define with_python3 1
Summary: Python module for GNU parted
Name: pyparted
Epoch: 1
Version: 3.9.5
Release: 2%{?dist}
Version: 3.10.4
Release: 1%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://fedorahosted.org/pyparted
URL: https://github.com/dcantrell/%{name}
Source0: http://fedorahosted.org/releases/p/y/%{name}/%{name}-%{version}.tar.gz
Source0: https://github.com/dcantrell/%{name}/releases/%{name}-%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
BuildRequires: python-devel
%if 0%{?with_python3}
BuildRequires: python3-devel
%endif
BuildRequires: parted-devel >= 3.1-14
BuildRequires: pkgconfig
BuildRequires: e2fsprogs
@ -19,30 +24,79 @@ BuildRequires: e2fsprogs
Python module for the parted library. It is used for manipulating
partition tables.
%if 0%{?with_python3}
%package -n python3-pyparted
Summary: Python 3 module for GNU parted
Group: System Environment/Libraries
%description -n python3-pyparted
Python module for the parted library. It is used for manipulating
partition tables. This package provides Python 3 bindings for parted.
%endif
%prep
%setup -q
%setup -q -n %{name}-%{name}-%{version}
%if 0%{?with_python3}
rm -rf %{py3dir}
cp -a . %{py3dir}
%endif
%build
make %{?_smp_mflags}
%if 0%{?with_python3}
pushd %{py3dir}
PYTHON=python3 make %{?_smp_mflags}
popd
%endif
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%if 0%{?with_python3}
pushd %{py3dir}
PYTHON=python3 make install DESTDIR=%{buildroot}
popd
%endif
%check
make test
%if 0%{?with_python3}
pushd %{py3dir}
PYTHON=python3 make test
popd
%endif
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
%{python_sitearch}/_pedmodule.so
%doc AUTHORS BUGS COPYING NEWS README TODO
%{python_sitearch}/_ped.so
%{python_sitearch}/parted
%{python_sitearch}/%{name}-%{version}-*.egg-info
%if 0%{?with_python3}
%files -n python3-pyparted
%defattr(-,root,root,-)
%doc AUTHORS BUGS COPYING NEWS README TODO
%{python3_sitearch}/_ped.*.so
%{python3_sitearch}/parted
%{python3_sitearch}/%{name}-%{version}-*.egg-info
%endif
%changelog
* Tue May 05 2015 David Cantrell <dcantrell@redhat.com> - 1:3.10.4-1
- Upgrade to pyparted-3.10.4 for multiple fixes and to add a Python 3
subpackage (#1196402)
* Mon Dec 01 2014 Adam Williamson <awilliam@redhat.com> - 1:3.9.5-3
- backport resetNumber() function from 3.10 (needed to fix RHBZ #1166598)
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.9.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

View file

@ -1 +1 @@
9cf098ec38b9fe0af98782671027c5d6 pyparted-3.9.5.tar.gz
f7b324cfd13210cc802c87628ecf8f35 pyparted-pyparted-3.10.4.tar.gz