Compare commits
No commits in common. "c8" and "c10s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
12
.gitignore
vendored
12
.gitignore
vendored
@ -1 +1,11 @@
|
||||
SOURCES/pyodbc-4.0.30.tar.gz
|
||||
pyodbc-2.1.5.zip
|
||||
/pyodbc-3.0.6.zip
|
||||
/pyodbc-3.0.7.zip
|
||||
/pyodbc-3.0.10.tar.gz
|
||||
/pyodbc-4.0.27.tar.gz
|
||||
/pyodbc-4.0.30.tar.gz
|
||||
/pyodbc-4.0.39.tar.gz
|
||||
/pyodbc-5.0.0b1.tar.gz
|
||||
/pyodbc-5.0.0b4.tar.gz
|
||||
/pyodbc-5.0.1.tar.gz
|
||||
/pyodbc-5.1.0.tar.gz
|
||||
|
||||
@ -1 +0,0 @@
|
||||
65d171c5e14eb563e8fdc97ea0cf80ca8f8fbd15 SOURCES/pyodbc-4.0.30.tar.gz
|
||||
9
ci.fmf
Normal file
9
ci.fmf
Normal file
@ -0,0 +1,9 @@
|
||||
/test:
|
||||
summary:
|
||||
Basic set of quick tests for pyodbc.
|
||||
discover:
|
||||
how: fmf
|
||||
filter: "tier: 1"
|
||||
repository: "https://github.com/devexp-db/pyodbc-tests.git"
|
||||
execute:
|
||||
how: tmt
|
||||
@ -1,15 +1,14 @@
|
||||
%global modulename pyodbc
|
||||
|
||||
Name: pyodbc
|
||||
Version: 4.0.30
|
||||
Release: 2%{?dist}
|
||||
Version: 5.1.0
|
||||
Release: 3%{?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/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: unixODBC-devel
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
|
||||
Recommends: (postgresql-odbc if postgresql-server)
|
||||
Recommends: (mariadb-connector-odbc if mariadb-server)
|
||||
@ -21,35 +20,109 @@ decimal.
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-%{modulename}
|
||||
%package -n python3-%{name}
|
||||
Summary: Python DB API 2.0 Module for ODBC
|
||||
%{?python_provide:%python_provide python3-%{modulename}}
|
||||
%{?python_provide:%python_provide python3-%{name}}
|
||||
Recommends: (mariadb-connector-odbc if mariadb-server)
|
||||
Recommends: (postgresql-odbc if postgresql-server)
|
||||
|
||||
%description -n python3-%{modulename}
|
||||
%description -n python3-%{name}
|
||||
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
|
||||
decimal.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%pyproject_install
|
||||
|
||||
%files -n python3-%{name}
|
||||
%license LICENSE.txt
|
||||
%doc README.md notes.txt
|
||||
%{python3_sitearch}/*
|
||||
%{python3_sitearch}/%{name}%{python3_ext_suffix}
|
||||
%{python3_sitearch}/%{name}-%{version}.dist-info/
|
||||
%{python3_sitearch}/%{name}.pyi
|
||||
|
||||
%changelog
|
||||
* Fri Nov 27 2020 Filip Janus <fjanus@redhat.com> - 4.0.30-2
|
||||
- Enable gating, release bump
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 5.1.0-3
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 5.1.0-2
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* 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
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Oct 15 2023 Ondrej Sloup <osloup@redhat.com> - 5.0.1-1
|
||||
- Rebase to the newest version (Related: rhbz#2244039)
|
||||
|
||||
* Thu Sep 28 2023 Ondrej Sloup <osloup@redhat.com> - 5.0.0~b4-1
|
||||
- Rebase to the newest version, test the beta (Related: rhbz#2235401)
|
||||
- Remove the hotfix (move of pyodbc.py) as it is fixed in upstream
|
||||
|
||||
* Mon Aug 28 2023 Ondřej Sloup <osloup@redhat.com> - 5.0.0~b1-2
|
||||
- Move /usr/pyodbc.pyi to /usr/lib64/python3.X/site-packages/pyodbc.pyi as originally intended
|
||||
|
||||
* Mon Aug 28 2023 Ondřej Sloup <osloup@redhat.com> - 5.0.0~b1-1
|
||||
- Rebase to the newest version, test the beta (rhbz#2235122)
|
||||
- This release drops Python 2 and adds Python 3.12 support
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.39-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.0.39-3
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Mon Apr 17 2023 Ondřej Sloup <osloup@redhat.com> - 4.0.39-1
|
||||
- Rebase to the newest version
|
||||
- Remove the PyUnicode_AsUTF8String Patch file, as it is already merged in upstream
|
||||
- Change packaged files to match new setup.py requirements
|
||||
|
||||
* Wed Jan 25 2023 Miro Hrončok <mhroncok@redhat.com> - 4.0.30-10
|
||||
- Fix version in the Python package metadata
|
||||
- This makes the package provide python3dist(pyodbc) = 4.0.30 instead of python3dist(pyodbc) = 4.0.0-unsupported
|
||||
- This makes the package buildable with python-packaging 22+
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.30-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.30-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Tue Jun 28 2022 Ondrej Sloup <osloup@redhat.com> - 4.0.30-7
|
||||
- Use autosetup
|
||||
- Use name macro
|
||||
- Fix pyodbc fails to build with Python 3.11: error: PyUnicode_EncodeUTF8 (#2049428)
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.0.30-6
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.30-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.30-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 4.0.30-3
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.30-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Fri Oct 2 2020 Filip Janus <fjanus@redhat.com> - 4.0.30-1
|
||||
- Upstream released 4.0.30
|
||||
Loading…
Reference in New Issue
Block a user