Add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-20 10:40:43 -04:00 committed by Robert Scheck
parent 8a587e6b11
commit c473c6cad0

View File

@ -4,7 +4,7 @@
%define realname PyICU
Name: pyicu
Version: 1.5
Release: 23%{?dist}
Release: 24%{?dist}
Summary: Python extension wrapping IBM's ICU C++ libraries
Group: Development/Tools
License: MIT
@ -35,6 +35,7 @@ the same results on all platforms and between C/C++ and Javasoftware.
Summary: %summary
%{?python_provide:%python_provide python2-pyicu}
# Remove before F30
Provides: pyicu = %{version}-%{release}
Provides: pyicu%{?_isa} = %{version}-%{release}
Obsoletes: pyicu < %{version}-%{release}
@ -67,6 +68,9 @@ rm -rf %{buildroot}%{python_sitearch}/tests
%{python_sitearch}/%{realname}-%{version}-py?.?.egg-info/*.*
%changelog
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5-24
- Add Provides for the old name without %%_isa
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5-23
- Python 2 binary package renamed to python2-pyicu
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3