diff --git mysql-connector-python/mysql-connector-python.spec mysql-connector-python/mysql-connector-python.spec.tmp index 6b92349d7c..ce714a855d 100644 --- mysql-connector-python/mysql-connector-python.spec +++ mysql-connector-python/mysql-connector-python.spec.tmp @@ -21,7 +21,7 @@ Name: mysql-connector-python Version: 1.1.6 -Release: 10%{?dist} +Release: 11%{?dist} Summary: MySQL Connector for Python 2 Group: Development/Languages @@ -44,13 +44,23 @@ BuildRequires: mysql-server %endif -%description -MySQL Connector/Python is implementing the MySQL Client/Server protocol -completely in Python. No MySQL libraries are needed, and no compilation -is necessary to run this Python DB API v2.0 compliant driver. +%global _description\ +MySQL Connector/Python is implementing the MySQL Client/Server protocol\ +completely in Python. No MySQL libraries are needed, and no compilation\ +is necessary to run this Python DB API v2.0 compliant driver.\ +\ +Documentation: http://dev.mysql.com/doc/connector-python/en/index.html\ -Documentation: http://dev.mysql.com/doc/connector-python/en/index.html +%description %_description + +%package -n python2-mysql-connector +Summary: %summary +%{?python_provide:%python_provide python2-mysql-connector} +# Remove before F30 +Provides: mysql-connector-python = %{version}-%{release} + +%description -n python2-mysql-connector %_description %if 0%{?with_python3} %package -n mysql-connector-python3 @@ -108,7 +118,7 @@ rm -rf build rm -rf %{buildroot} -%files +%files -n python2-mysql-connector %defattr(-,root,root,-) %doc ChangeLog COPYING README* docs/README_DOCS.txt %doc python2/examples @@ -124,6 +134,10 @@ rm -rf %{buildroot} %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.1.6-11 +- Python 2 binary package renamed to python2-mysql-connector + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Jul 26 2017 Fedora Release Engineering - 1.1.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild