forked from pool/python-pymssql
- update to 2.2.8:
* Compatibility with Cython. * Fix build on Alpine Linux (fix #762). * Fill in result description in cursor.callproc (fix #772). * Add explicit link to krb5 (fix #776) * Added bytes and bytearray to support bulk_copy types, thanks to steve-strickland (#756). * Fix UnicodeEncodeError for non-ascii database name (#484). * Fix pymssql.Binary (#504). * On macOS check for FreeTDS in homebrew prefix when building. * Some documentation changes. * Drop support for Python2 and Python3 < 3.6. * Fixed a deadlock caused by a missing release of GIL (#540), * Prevents memory leak on login failure. Thanks to caogtaa and Simon.StJG (PR-690). * Fix check for TDS version (#652 and #669). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymssql?expand=0&rev=3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pymssql
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pymssql
|
||||
Version: 2.1.5
|
||||
Version: 2.2.8
|
||||
Release: 0
|
||||
Summary: A simple database interface to MS-SQL for Python
|
||||
License: LGPL-2.1-only
|
||||
@@ -26,10 +26,13 @@ Group: Development/Languages/Python
|
||||
URL: https://pymssql.org
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pymssql/pymssql-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module setuptools-git}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: freetds-devel
|
||||
BuildRequires: krb5-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: python-rpm-macros
|
||||
%python_subpackages
|
||||
|
||||
@@ -42,10 +45,10 @@ DB-API 2.0 Specification and works on most popular operating systems.
|
||||
%setup -q -n pymssql-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
### Tests need access to a MSSQL-server
|
||||
@@ -54,7 +57,7 @@ DB-API 2.0 Specification and works on most popular operating systems.
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc ChangeLog ChangeLog_highlights.rst README.rst
|
||||
%doc ChangeLog.rst README.rst
|
||||
%{python_sitearch}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user