[packages/python-parted] - new URLs, updated to 3.11.2
qboosh
qboosh at pld-linux.org
Sat Mar 9 21:24:13 CET 2019
commit 8837c63345fc04af296d9057f909635eb4f4517b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 9 21:29:59 2019 +0100
- new URLs, updated to 3.11.2
python-parted.spec | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/python-parted.spec b/python-parted.spec
index 9c481ee..4269ed4 100644
--- a/python-parted.spec
+++ b/python-parted.spec
@@ -7,24 +7,25 @@
Summary: Python 2.x bindings for libparted library
Summary(pl.UTF-8): Wiązania Pythona 2.x do biblioteki libparted
Name: python-%{module}
-Version: 3.10
-Release: 10
+Version: 3.11.2
+Release: 1
License: GPL v2+
Group: Libraries/Python
-Source0: https://fedorahosted.org/releases/p/y/pyparted/pyparted-%{version}.tar.gz
-# Source0-md5: d494440b34bc9ea0afea45c4a4ac3274
-URL: https://fedorahosted.org/pyparted/
+#Source0Download: https://github.com/dcantrell/pyparted/releases
+Source0: https://github.com/dcantrell/pyparted/releases/download/v%{version}/pyparted-%{version}.tar.gz
+# Source0-md5: 9477016f5a00bd2d7a280879cdeec3a4
+URL: https://github.com/dcantrell/pyparted
BuildRequires: parted-devel >= 3.1
BuildRequires: pkgconfig
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.710
+BuildRequires: rpmbuild(macros) >= 1.714
%if %{with python2}
BuildRequires: python-devel >= 1:2.7
+BuildRequires: python-modules >= 1:2.7
%endif
%if %{with python3}
-BuildRequires: python3-devel
-BuildRequires: python3-distribute
-BuildRequires: python3-modules
+BuildRequires: python3-devel >= 1:3.2
+BuildRequires: python3-modules >= 1:3.2
%endif
Requires: parted >= 3.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,6 +42,7 @@ tablic partycji.
Summary: Python 3.x bindings for libparted library
Summary(pl.UTF-8): Wiązania Pythona 3.x do biblioteki libparted
Group: Libraries/Python
+Requires: parted >= 3.1
%description -n python3-%{module}
Python 3.x bindings for the libparted library. It is used for
@@ -80,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python2}
%files
%defattr(644,root,root,755)
-%doc AUTHORS BUGS ChangeLog NEWS README TODO
+%doc AUTHORS NEWS README TODO
%attr(755,root,root) %{py_sitedir}/_ped.so
%dir %{py_sitedir}/parted
%{py_sitedir}/parted/*.py[co]
@@ -90,7 +92,7 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python3}
%files -n python3-%{module}
%defattr(644,root,root,755)
-%doc AUTHORS BUGS ChangeLog NEWS README TODO
+%doc AUTHORS NEWS README TODO
%attr(755,root,root) %{py3_sitedir}/_ped.*.so
%dir %{py3_sitedir}/parted
%{py3_sitedir}/parted/*.py
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-parted.git/commitdiff/8837c63345fc04af296d9057f909635eb4f4517b
More information about the pld-cvs-commit
mailing list