Add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-20 10:41:01 -04:00
parent b7d6f3a889
commit 9006fb19fc

View File

@ -11,7 +11,7 @@
Name: pyodbc
Version: 3.0.10
Release: 10%{?dist}
Release: 11%{?dist}
Summary: Python DB API 2.0 Module for ODBC
Group: Development/Languages
License: MIT
@ -37,6 +37,7 @@ Summary: %summary
Requires: unixODBC, python >= 2.4
%{?python_provide:%python_provide python2-%{modulename}}
# Remove before F30
Provides: pyodbc = %{version}-%{release}
Provides: pyodbc%{?_isa} = %{version}-%{release}
Obsoletes: pyodbc < %{version}-%{release}
@ -102,6 +103,9 @@ popd
%endif
%changelog
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.0.10-11
- Add Provides for the old name without %%_isa
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.0.10-10
- Python 2 binary package renamed to python2-pyodbc
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3