Rebase onto v4.0.30
Add support for reccomendation to install specific database connector
This commit is contained in:
parent
05c2a154d2
commit
47eef3b892
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ pyodbc-2.1.5.zip
|
|||||||
/pyodbc-3.0.7.zip
|
/pyodbc-3.0.7.zip
|
||||||
/pyodbc-3.0.10.tar.gz
|
/pyodbc-3.0.10.tar.gz
|
||||||
/pyodbc-4.0.27.tar.gz
|
/pyodbc-4.0.27.tar.gz
|
||||||
|
/pyodbc-4.0.30.tar.gz
|
||||||
|
|||||||
13
pyodbc.spec
13
pyodbc.spec
@ -1,8 +1,8 @@
|
|||||||
%global modulename pyodbc
|
%global modulename pyodbc
|
||||||
|
|
||||||
Name: pyodbc
|
Name: pyodbc
|
||||||
Version: 4.0.27
|
Version: 4.0.30
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Python DB API 2.0 Module for ODBC
|
Summary: Python DB API 2.0 Module for ODBC
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/mkleehammer/pyodbc
|
URL: https://github.com/mkleehammer/pyodbc
|
||||||
@ -11,6 +11,9 @@ BuildRequires: gcc-c++
|
|||||||
BuildRequires: unixODBC-devel
|
BuildRequires: unixODBC-devel
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
|
Recommends: (postgresql-odbc if postgresql-server)
|
||||||
|
Recommends: (mariadb-connector-odbc if mariadb-server)
|
||||||
|
|
||||||
%global _description\
|
%global _description\
|
||||||
A Python DB API 2 and 3 module for ODBC. This project provides an up-to-date,\
|
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\
|
convenient interface to ODBC using native data types like datetime and\
|
||||||
@ -21,6 +24,8 @@ decimal.
|
|||||||
%package -n python3-%{modulename}
|
%package -n python3-%{modulename}
|
||||||
Summary: Python DB API 2.0 Module for ODBC
|
Summary: Python DB API 2.0 Module for ODBC
|
||||||
%{?python_provide:%python_provide python3-%{modulename}}
|
%{?python_provide:%python_provide python3-%{modulename}}
|
||||||
|
Recommends: (mariadb-connector-odbc if mariadb-server)
|
||||||
|
Recommends: (postgresql-odbc if postgresql-server)
|
||||||
|
|
||||||
%description -n python3-%{modulename}
|
%description -n python3-%{modulename}
|
||||||
A Python DB API 2 and 3 module for ODBC. This project provides an up-to-date,
|
A Python DB API 2 and 3 module for ODBC. This project provides an up-to-date,
|
||||||
@ -43,6 +48,10 @@ decimal.
|
|||||||
%{python3_sitearch}/*
|
%{python3_sitearch}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.27-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
|||||||
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (pyodbc-4.0.27.tar.gz) = 40ef8e08509dcebc3684a7fddba6f2ca7e835dda8658f0680c7254a641f47731db140e4fec6fff746ca08d3ea82252fc5b976a008f7553e43fce66116a6fc894
|
SHA512 (pyodbc-4.0.30.tar.gz) = 022f7f06f4c8e9e15813778e242e1bf130412660805df21c7c90bf94c8af574767c3621ada38d202149c7f01d6ecb6336ef08aa925926620dd1a23341608e9f7
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user