Add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-20 10:38:49 -04:00
parent b517f7903e
commit 328959130a

View File

@ -7,7 +7,7 @@
Summary: A library for text mode user interfaces
Name: newt
Version: 0.52.20
Release: 4%{?dist}
Release: 5%{?dist}
License: LGPLv2
Group: System Environment/Libraries
URL: https://pagure.io/newt
@ -58,6 +58,7 @@ Install it if you need to link statically with libnewt.
%package -n python2-newt
%{?python_provide:%python_provide python2-newt}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python 2 bindings for newt
@ -128,6 +129,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
%endif
%changelog
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.52.20-5
- Add Provides for the old name without %%_isa
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.52.20-4
- Python 2 binary package renamed to python2-newt
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3