Add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-20 10:41:50 -04:00
parent c877a9f6cf
commit 3e1f78f7d1

View File

@ -6,7 +6,7 @@
Name: PyYAML
Version: 3.12
Release: 6%{?dist}
Release: 7%{?dist}
Summary: YAML parser and emitter for Python
Group: Development/Libraries
@ -45,6 +45,7 @@ Provides: python2-yaml = %{version}-%{release}
Provides: python2-yaml%{?_isa} = %{version}-%{release}
%{?python_provide:%python_provide python2-pyyaml}
# Remove before F30
Provides: PyYAML = %{version}-%{release}
Provides: PyYAML%{?_isa} = %{version}-%{release}
Obsoletes: PyYAML < %{version}-%{release}
@ -132,6 +133,9 @@ popd
%changelog
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.12-7
- Add Provides for the old name without %%_isa
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.12-6
- Python 2 binary package renamed to python2-pyyaml
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3