Rebase to the newest version (Related: rhbz#2262845) and Update license tag to the SPDX format (MIT-0)

This commit is contained in:
Ondřej Sloup 2024-02-06 12:52:48 +01:00
parent f05c50c43b
commit 94ad01676c
3 changed files with 12 additions and 8 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ pyodbc-2.1.5.zip
/pyodbc-5.0.0b1.tar.gz
/pyodbc-5.0.0b4.tar.gz
/pyodbc-5.0.1.tar.gz
/pyodbc-5.1.0.tar.gz

View File

@ -1,11 +1,10 @@
Name: pyodbc
Version: 5.0.1
%global uversion 5.0.1
Release: 3%{?dist}
Version: 5.1.0
Release: 1%{?dist}
Summary: Python DB API 2.0 Module for ODBC
License: MIT
License: MIT-0
URL: https://github.com/mkleehammer/pyodbc
Source0: https://github.com/mkleehammer/pyodbc/archive/%{uversion}.tar.gz#/%{name}-%{uversion}.tar.gz
Source0: https://github.com/mkleehammer/pyodbc/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: unixODBC-devel
BuildRequires: python3-devel
@ -33,7 +32,7 @@ convenient interface to ODBC using native data types like datetime and
decimal.
%prep
%autosetup -n %{name}-%{uversion} -p1
%autosetup -n %{name}-%{version} -p1
%generate_buildrequires
%pyproject_buildrequires
@ -48,10 +47,14 @@ decimal.
%license LICENSE.txt
%doc README.md notes.txt
%{python3_sitearch}/%{name}%{python3_ext_suffix}
%{python3_sitearch}/%{name}-%{uversion}.dist-info/
%{python3_sitearch}/%{name}-%{version}.dist-info/
%{python3_sitearch}/%{name}.pyi
%changelog
* Tue Feb 6 2024 Ondrej Sloup <osloup@redhat.com> - 5.1.0-1
- Rebase to the newest version (Related: rhbz#2262845)
- Update license tag to the SPDX format (MIT-0)
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (pyodbc-5.0.1.tar.gz) = 6da2599c30fd8cda663f533e3e0cca9a4392f166d177a535d1a5dcd07d14d2ca4280c35aeb2b6cc9e9e94452fc781f57d6263988051c12e55e542de26e1da7c0
SHA512 (pyodbc-5.1.0.tar.gz) = b5586d398e6803526398c5c1b1a1e07b137357e3257db6d86db5bc6cbaea72257fb132e437b164a6a8c31c549e4c24ce753a7650fe1d10252d17a88798754af5