diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index b252477..dad7e87 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -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 - 8.0.19-3 +- Rebuilt for newer protobuf version + Resolves: #1797297 + * Wed Jan 29 2020 Fedora Release Engineering - 8.0.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/protobuf_version.patch b/protobuf_version.patch new file mode 100644 index 0000000..c9d9160 --- /dev/null +++ b/protobuf_version.patch @@ -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"]