Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-01-15 19:35:05 +01:00
parent 6c17f4a6ce
commit f02fbabd72

View File

@ -4,7 +4,7 @@ Summary: Python module for GNU parted
Name: pyparted
Epoch: 1
Version: 3.11.0
Release: 7%{?dist}
Release: 8%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: https://github.com/rhinstaller/pyparted
@ -12,8 +12,8 @@ URL: https://github.com/rhinstaller/pyparted
Source0: https://github.com/rhinstaller/pyparted/archive/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
BuildRequires: python-devel
BuildRequires: python-six
BuildRequires: python2-devel
BuildRequires: python2-six
%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-six
@ -104,6 +104,10 @@ rm -rf %{buildroot}
%endif
%changelog
* Mon Jan 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1:3.11.0-8
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:3.11.0-7
- Add Provides for the old name without %%_isa