15
0

- Add liberally-accept-charsets.patch:

* Support multibyte utf8 return values with new versions of MariaDB.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=26
This commit is contained in:
2021-09-10 07:49:18 +00:00
committed by Git OBS Bridge
parent d0cb4e0108
commit 04d2413426
3 changed files with 32 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package python-mysqlclient-test
# spec file
#
# Copyright (c) 2021 SUSE LLC
#
@@ -35,6 +35,7 @@ Summary: Python interface to MySQL
License: GPL-2.0-or-later
URL: https://github.com/PyMySQL/mysqlclient-python
Source: https://files.pythonhosted.org/packages/source/m/mysqlclient/mysqlclient-%{version}.tar.gz
Patch0: liberally-accept-charsets.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -69,6 +70,7 @@ This package adds Python 3 support and bug fixes to MySQLdb1.
%prep
%setup -q -n mysqlclient-%{version}
%autopatch -p1
%build
%if !%{with test}