Rebase onto v4.0.30

Add support for reccomendation to install specific database connector
This commit is contained in:
Filip Januš 2020-10-02 13:44:41 +02:00
parent 05c2a154d2
commit 47eef3b892
3 changed files with 13 additions and 3 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ pyodbc-2.1.5.zip
/pyodbc-3.0.7.zip
/pyodbc-3.0.10.tar.gz
/pyodbc-4.0.27.tar.gz
/pyodbc-4.0.30.tar.gz

View File

@ -1,8 +1,8 @@
%global modulename pyodbc
Name: pyodbc
Version: 4.0.27
Release: 2%{?dist}
Version: 4.0.30
Release: 1%{?dist}
Summary: Python DB API 2.0 Module for ODBC
License: MIT
URL: https://github.com/mkleehammer/pyodbc
@ -11,6 +11,9 @@ BuildRequires: gcc-c++
BuildRequires: unixODBC-devel
BuildRequires: python3-devel
Recommends: (postgresql-odbc if postgresql-server)
Recommends: (mariadb-connector-odbc if mariadb-server)
%global _description\
A Python DB API 2 and 3 module for ODBC. This project provides an up-to-date,\
convenient interface to ODBC using native data types like datetime and\
@ -21,6 +24,8 @@ decimal.
%package -n python3-%{modulename}
Summary: Python DB API 2.0 Module for ODBC
%{?python_provide:%python_provide python3-%{modulename}}
Recommends: (mariadb-connector-odbc if mariadb-server)
Recommends: (postgresql-odbc if postgresql-server)
%description -n python3-%{modulename}
A Python DB API 2 and 3 module for ODBC. This project provides an up-to-date,
@ -43,6 +48,10 @@ decimal.
%{python3_sitearch}/*
%changelog
* Fri Oct 2 2020 Filip Janus <fjanus@redhat.com> - 4.0.30-1
- Upstream released 4.0.30
- Add Recommendation to install database connector
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.27-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (pyodbc-4.0.27.tar.gz) = 40ef8e08509dcebc3684a7fddba6f2ca7e835dda8658f0680c7254a641f47731db140e4fec6fff746ca08d3ea82252fc5b976a008f7553e43fce66116a6fc894
SHA512 (pyodbc-4.0.30.tar.gz) = 022f7f06f4c8e9e15813778e242e1bf130412660805df21c7c90bf94c8af574767c3621ada38d202149c7f01d6ecb6336ef08aa925926620dd1a23341608e9f7