[packages/python-mysql-connector] - up to 8.0.16
arekm
arekm at pld-linux.org
Fri Apr 26 06:59:16 CEST 2019
commit 8d510397b5d1289b31301a53cc1a9cb60984c849
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Apr 26 06:59:07 2019 +0200
- up to 8.0.16
32bit.patch | 17 ++++-------------
python-mysql-connector.spec | 4 ++--
2 files changed, 6 insertions(+), 15 deletions(-)
---
diff --git a/python-mysql-connector.spec b/python-mysql-connector.spec
index fc55da4..5b9de9f 100644
--- a/python-mysql-connector.spec
+++ b/python-mysql-connector.spec
@@ -11,12 +11,12 @@ Summary: The MySQL Client/Protocol implemented in Python
Name: python-%{pname}
# check documentation to see which version is GA (we don't want devel releases)
# https://dev.mysql.com/downloads/connector/python/
-Version: 8.0.15
+Version: 8.0.16
Release: 1
License: GPL v2
Group: Libraries/Python
Source0: http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-%{version}.zip
-# Source0-md5: d8d385202f83d12a371593cbe00a60ba
+# Source0-md5: bff33ea1f7edb97c9e691cfd149d9a14
Patch0: 32bit.patch
Patch1: tests.patch
URL: http://dev.mysql.com/doc/connector-python/en/
diff --git a/32bit.patch b/32bit.patch
index ecdaa4d..e777cfa 100644
--- a/32bit.patch
+++ b/32bit.patch
@@ -1,20 +1,11 @@
---- mysql-connector-python-2.1.3/lib/cpy_distutils.py~
-+++ mysql-connector-python-2.1.3/lib/cpy_distutils.py
-@@ -131,7 +131,7 @@ def unix_lib_is64bit(lib_file):
+--- mysql-connector-python-8.0.16/lib/cpy_distutils.py~ 2019-04-26 06:57:29.000000000 +0200
++++ mysql-connector-python-8.0.16/lib/cpy_distutils.py 2019-04-26 06:58:18.098036824 +0200
+@@ -183,7 +183,7 @@ def unix_lib_is64bit(lib_file):
stdout = prc.communicate()[0]
stdout = stdout.split(':')[1]
log.debug("# lib_file {0} stdout: {1}".format(lib_file, stdout))
- if 'x86_64' in stdout or 'x86-64' in stdout or '32-bit' not in stdout:
-+ if 'x86_64' in stdout or 'x86-64' in stdout and '32-bit' not in stdout:
++ if ('x86_64' in stdout or 'x86-64' in stdout) and '32-bit' not in stdout:
return True
return False
-@@ -213,7 +213,7 @@
- "be executed: {0}".format(str(exc)))
-
- if stdout:
-- if '64' in stdout:
-+ if '64' in stdout and not '32-bit' in stdout:
- info['arch'] = "x86_64"
- else:
- info['arch'] = "i386"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-mysql-connector.git/commitdiff/8d510397b5d1289b31301a53cc1a9cb60984c849
More information about the pld-cvs-commit
mailing list