Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-02-14 17:18:23 +01:00
parent c2a5b16373
commit cc65e4e1e8

View File

@ -11,14 +11,14 @@
Name: pyodbc
Version: 3.0.10
Release: 12%{?dist}
Release: 13%{?dist}
Summary: Python DB API 2.0 Module for ODBC
Group: Development/Languages
License: MIT
URL: https://github.com/mkleehammer/pyodbc
Source0: https://github.com/mkleehammer/pyodbc/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: unixODBC-devel
BuildRequires: python-devel
BuildRequires: python2-devel
%if 0%{?with_python3}
BuildRequires: python3-devel
@ -33,7 +33,7 @@ decimal.
%package -n python2-%{modulename}
Summary: %summary
Requires: unixODBC, python >= 2.4
Requires: unixODBC, python2 >= 2.4
%{?python_provide:%python_provide python2-%{modulename}}
# Remove before F30
Provides: pyodbc = %{version}-%{release}
@ -99,6 +99,10 @@ popd
%endif
%changelog
* Wed Feb 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.0.10-13
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.10-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild