[packages/python-mysql-connector] - relax python-protobuf deps
baggins
baggins at pld-linux.org
Fri Jan 17 09:16:17 CET 2020
commit a80a3e8ccc96a9bb2755386557409670faaf4cca
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Jan 17 09:14:23 2020 +0100
- relax python-protobuf deps
proto.patch | 8 ++++++++
python-mysql-connector.spec | 4 +++-
2 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/python-mysql-connector.spec b/python-mysql-connector.spec
index 4200bf0..4b1f93a 100644
--- a/python-mysql-connector.spec
+++ b/python-mysql-connector.spec
@@ -13,7 +13,7 @@ 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: 1
+Release: 2
License: GPL v2
Group: Libraries/Python
Source0: http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-%{version}.zip
@@ -21,6 +21,7 @@ Source0: http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-
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
@@ -77,6 +78,7 @@ biblioteki MySQL-a, ani żadna kompilacja.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
export MYSQLXPB_PROTOC=%{_bindir}/protoc
diff --git a/proto.patch b/proto.patch
new file mode 100644
index 0000000..9696c54
--- /dev/null
+++ b/proto.patch
@@ -0,0 +1,8 @@
+--- 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"]
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-mysql-connector.git/commitdiff/a80a3e8ccc96a9bb2755386557409670faaf4cca
More information about the pld-cvs-commit
mailing list