Rebuilt for newer protobuf version

Resolves: #1797297
This commit is contained in:
<first-name-unset> <last-name-unset> 2020-02-07 14:41:03 +01:00
commit c3c03b2045
2 changed files with 18 additions and 1 deletions

View file

@ -13,7 +13,7 @@
Name: mysql-connector-python
Version: 8.0.19
Release: 2%{?dist}
Release: 3%{?dist}
Summary: MySQL Connector for Python 3
License: GPLv2 with exceptions
@ -23,6 +23,8 @@ URL: http://dev.mysql.com/doc/connector-python/en/index.html
# http://dev.mysql.com/downloads/connector/python/
Source0: %{name}-%{version}.tar.gz
Patch0: protobuf_version.patch
BuildArch: noarch
BuildRequires: python3-devel >= 3
%if %{with_tests}
@ -57,6 +59,7 @@ Documentation: http://dev.mysql.com/doc/connector-python/en/index.html
%setup -q -n %{name}-%{version}
chmod -x examples/*py
%patch0 -p1
%build
# nothing to build
@ -88,6 +91,10 @@ chmod -x examples/*py
%changelog
* Fri Feb 07 2020 Michal Schorm <mschorm@redhat.com> - 8.0.19-3
- Rebuilt for newer protobuf version
Resolves: #1797297
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

10
protobuf_version.patch Normal file
View file

@ -0,0 +1,10 @@
https://bugzilla.redhat.com/show_bug.cgi?id=1797297
--- mysql-connector-python-8.0.19/setupinfo.py 2019-12-17 13:31:58.000000000 +0100
+++ mysql-connector-python-8.0.19/setupinfo.py_patched 2020-02-07 14:36:28.976789500 +0100
@@ -139,4 +139,4 @@ classifiers = [
'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.11.2", "dnspython==1.16.0"]