Add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-20 10:37:08 -04:00
parent 54e76ea64c
commit 7c76c17492

View File

@ -1,7 +1,7 @@
Summary: Utilities to convert Outlook .pst files to other formats
Name: libpst
Version: 0.6.71
Release: 5%{?dist}
Release: 6%{?dist}
License: GPLv2+
Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz
URL: http://www.five-ten-sg.com/%{name}/
@ -30,6 +30,7 @@ utilities.
%package -n python2-libpst
%{?python_provide:%python_provide python2-libpst}
# Remove before F30
Provides: %{name}-python2 = %{version}-%{release}
Provides: %{name}-python2%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python2 < %{version}-%{release}
Summary: Python bindings for libpst
@ -131,6 +132,9 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
%changelog
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.6.71-6
- Add Provides for the old name without %%_isa
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.6.71-5
- Python 2 binary package renamed to python2-libpst
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3