From 4d0627c51159154a050877a71a01a1b8bd7259e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Mon, 27 Apr 2020 21:53:03 +0200 Subject: [PATCH] - up to 8.0.20 --- proto.patch | 8 -------- python-mysql-connector.spec | 10 ++++------ 2 files changed, 4 insertions(+), 14 deletions(-) delete mode 100644 proto.patch diff --git a/proto.patch b/proto.patch deleted file mode 100644 index 9696c54..0000000 --- a/proto.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- mysql-connector-python-8.0.19/setupinfo.py~ 2019-12-17 13:31:58.000000000 +0100 -+++ mysql-connector-python-8.0.19/setupinfo.py 2020-01-17 09:13:36.186606351 +0100 -@@ -139,4 +139,4 @@ - 'Topic :: Software Development :: Libraries :: Application Frameworks', - 'Topic :: Software Development :: Libraries :: Python Modules' - ] --install_requires = ["protobuf==3.6.1", "dnspython==1.16.0"] -+install_requires = ["protobuf>=3.6.1", "dnspython==1.16.0"] diff --git a/python-mysql-connector.spec b/python-mysql-connector.spec index 4b1f93a..f6a0dab 100644 --- a/python-mysql-connector.spec +++ b/python-mysql-connector.spec @@ -12,19 +12,18 @@ Summary(pl.UTF-8): Protokół kliencki MySQL zaimplementowany w Pythonie 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.19 -Release: 2 +Version: 8.0.20 +Release: 1 License: GPL v2 Group: Libraries/Python Source0: http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-%{version}.zip -# Source0-md5: 451d6604efa9dcab56d2658e7167898e +# Source0-md5: 88588b3f96cd4b48a60edc49f423b8db Patch0: 32bit.patch Patch1: tests.patch Patch2: build.patch -Patch3: proto.patch URL: http://dev.mysql.com/doc/connector-python/en/ BuildRequires: mysql-devel -BuildRequires: protobuf-devel +BuildRequires: protobuf-devel >= 3.0.0 %if %{with python2} BuildRequires: python-devel BuildRequires: python-modules @@ -78,7 +77,6 @@ biblioteki MySQL-a, ani żadna kompilacja. %patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 %build export MYSQLXPB_PROTOC=%{_bindir}/protoc -- 2.43.0