Add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-20 10:36:32 -04:00
parent 9c46e6de5d
commit 9d377f733b

View File

@ -4,7 +4,7 @@
Name: libiptcdata
Version: 1.0.4
Release: 19%{?dist}
Release: 20%{?dist}
Summary: IPTC tag library
Group: Development/Libraries
@ -36,6 +36,7 @@ that you can use to develop libiptcdata applications.
%package -n python2-libiptcdata
%{?python_provide:%python_provide python2-libiptcdata}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python bindings for libiptcdata
@ -89,6 +90,9 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitearch}/*.so
%changelog
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.4-20
- Add Provides for the old name without %%_isa
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.4-19
- Python 2 binary package renamed to python2-libiptcdata
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3