]> git.pld-linux.org Git - packages/python-mysql-connector.git/commitdiff
- up to 8.0.16 auto/th/python-mysql-connector-8.0.16-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 26 Apr 2019 04:59:07 +0000 (06:59 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 26 Apr 2019 04:59:07 +0000 (06:59 +0200)
32bit.patch
python-mysql-connector.spec

index ecdaa4d449afe7d6b0545c7dbeba9269474563cc..e777cfa7f92a1bc0aa7d113028bec3c3bd67f1e6 100644 (file)
@@ -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"
index fc55da4fed6dab36996aabe360085a620f2e83af..5b9de9f25234145e0292ca65c13404c00e9d76e6 100644 (file)
@@ -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/
This page took 0.146519 seconds and 4 git commands to generate.