Python 2 binary package renamed to python2-mysql-connector

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:38:59 -04:00
commit 52a787c4ce

View file

@ -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,24 @@ 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%{?_isa} = %{version}-%{release}
Obsoletes: mysql-connector-python < %{version}-%{release}
%description -n python2-mysql-connector %_description
%if 0%{?with_python3}
%package -n mysql-connector-python3
@ -108,7 +119,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 +135,10 @@ rm -rf %{buildroot}
%endif
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 1.1.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild