Add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-20 10:43:32 -04:00
parent 90f41d98e1
commit d825b9881f

View File

@ -2,7 +2,7 @@
Name: sword
Version: 1.7.4
Release: 13%{?dist}
Release: 14%{?dist}
Summary: Free Bible Software Project
License: GPLv2
URL: http://www.crosswire.org/sword/
@ -55,6 +55,7 @@ latest at the time of the current library release.
%package -n python2-sword
%{?python_provide:%python_provide python2-sword}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python bindings for Sword
@ -132,6 +133,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{python2_sitearch}/sword-%{version}-py2.7.egg-info
%changelog
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.7.4-14
- Add Provides for the old name without %%_isa
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.7.4-13
- Python 2 binary package renamed to python2-sword
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3