Add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-20 10:34:56 -04:00
parent 75e1edaf35
commit 2f3ccd23a4

View File

@ -2,7 +2,7 @@
Name: gupnp-igd
Version: 0.2.4
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Library to handle UPnP IGD port mapping
Group: System Environment/Libraries
@ -22,6 +22,7 @@ BuildRequires: pygtk2-devel
%package -n python2-gupnp-igd
%{?python_provide:%python_provide python2-gupnp-igd}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python bindings for %{name}
@ -89,6 +90,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%changelog
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.4-7
- Add Provides for the old name without %%_isa
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.4-6
- Python 2 binary package renamed to python2-gupnp-igd
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3