Add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-20 10:41:20 -04:00
parent c93c7d454d
commit 6c17f4a6ce
1 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,7 @@ Summary: Python module for GNU parted
Name: pyparted
Epoch: 1
Version: 3.11.0
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: https://github.com/rhinstaller/pyparted
@ -32,6 +32,7 @@ partition tables.
Summary: %summary
%{?python_provide:%python_provide python2-pyparted}
# Remove before F30
Provides: pyparted = %{version}-%{release}
Provides: pyparted%{?_isa} = %{version}-%{release}
Obsoletes: pyparted < %{version}-%{release}
@ -103,6 +104,9 @@ rm -rf %{buildroot}
%endif
%changelog
* 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
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:3.11.0-6
- Python 2 binary package renamed to python2-pyparted
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3