|
|
9701e4 |
%global pypi_name PyMySQL
|
|
|
9701e4 |
|
|
|
9701e4 |
Name: python-%{pypi_name}
|
|
|
9701e4 |
Version: 0.10.1
|
|
|
9701e4 |
Release: 2%{?dist}
|
|
|
9701e4 |
Summary: Pure-Python MySQL client library
|
|
|
9701e4 |
|
|
|
9701e4 |
License: MIT
|
|
|
9701e4 |
URL: https://pypi.python.org/pypi/%{pypi_name}/
|
|
|
9701e4 |
Source0: https://files.pythonhosted.org/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz
|
|
|
9701e4 |
|
|
|
9701e4 |
Patch0: default_charset_revert.patch
|
|
|
9701e4 |
|
|
|
9701e4 |
BuildArch: noarch
|
|
|
9701e4 |
# Exclude i686 arch. Due to a modularity issue it's being added to the
|
|
|
9701e4 |
# x86_64 compose of CRB, but we don't want to ship it at all.
|
|
|
9701e4 |
# See: https://projects.engineering.redhat.com/browse/RCM-72605
|
|
|
9701e4 |
ExcludeArch: i686
|
|
|
9701e4 |
|
|
|
9701e4 |
%description
|
|
|
9701e4 |
This package contains a pure-Python MySQL client library. The goal of PyMySQL is
|
|
|
9701e4 |
to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython
|
|
|
9701e4 |
and Jython.
|
|
|
9701e4 |
|
|
|
9701e4 |
|
|
|
9701e4 |
%package -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
9701e4 |
Summary: %{summary}
|
|
|
9701e4 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
9701e4 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
9701e4 |
BuildRequires: python%{python3_pkgversion}-cryptography
|
|
|
9701e4 |
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
|
|
9701e4 |
Requires: python%{python3_pkgversion}-cryptography
|
|
|
9701e4 |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
|
|
9701e4 |
|
|
|
9701e4 |
%description -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
9701e4 |
This package contains a pure-Python MySQL client library. The goal of PyMySQL is
|
|
|
9701e4 |
to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython
|
|
|
9701e4 |
and Jython.
|
|
|
9701e4 |
|
|
|
9701e4 |
|
|
|
9701e4 |
%prep
|
|
|
9701e4 |
%setup -qn %{pypi_name}-%{version}
|
|
|
9701e4 |
%patch0 -p1
|
|
|
9701e4 |
rm -rf %{pypi_name}.egg-info
|
|
|
9701e4 |
# Remove tests files so they are not installed globally.
|
|
|
9701e4 |
rm -rf tests
|
|
|
9701e4 |
|
|
|
9701e4 |
|
|
|
9701e4 |
%build
|
|
|
9701e4 |
%py3_build
|
|
|
9701e4 |
|
|
|
9701e4 |
|
|
|
9701e4 |
%install
|
|
|
9701e4 |
%py3_install
|
|
|
9701e4 |
|
|
|
9701e4 |
|
|
|
9701e4 |
%check
|
|
|
9701e4 |
# Tests cannot be launch on koji, they require a mysqldb running.
|
|
|
9701e4 |
|
|
|
9701e4 |
|
|
|
9701e4 |
%files -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
9701e4 |
%license LICENSE
|
|
|
9701e4 |
%doc README.rst
|
|
|
9701e4 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
|
9701e4 |
%{python3_sitelib}/pymysql/
|
|
|
9701e4 |
|
|
|
9701e4 |
%changelog
|
|
|
9701e4 |
* Wed Jan 20 2021 Lukas Javorsky <ljavorsk@redhat.com> - 0.10.1-2
|
|
|
9701e4 |
- Revert upstream change of default charset (from utf8mb4 to latin1)
|
|
|
9701e4 |
- Resolves BZ#1885641
|
|
|
9701e4 |
|
|
|
9701e4 |
* Tue Oct 06 2020 Michal Schorm <mschorm@redhat.com> - 0.10.1-1
|
|
|
9701e4 |
- Rebase to 0.10 version to add support for MariaDB ed25519 authentication mechanism
|
|
|
9701e4 |
|
|
|
9701e4 |
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 0.9.3-3
|
|
|
9701e4 |
- Exclude unsupported i686 arch
|
|
|
9701e4 |
|
|
|
9701e4 |
* Thu Nov 21 2019 Lumír Balhar <lbalhar@redhat.com> - 0.9.3-2
|
|
|
9701e4 |
- Adjusted for Python 3.8 module in RHEL 8
|
|
|
9701e4 |
|
|
|
9701e4 |
* Mon Nov 18 2019 Lumír Balhar <lbalhar@redhat.com> - 0.9.3-1
|
|
|
9701e4 |
- New upstream version 0.9.3
|
|
|
9701e4 |
|
|
|
9701e4 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-7
|
|
|
9701e4 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
9701e4 |
|
|
|
9701e4 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-6
|
|
|
9701e4 |
- Rebuilt for Python 3.8
|
|
|
9701e4 |
|
|
|
9701e4 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-5
|
|
|
9701e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
9701e4 |
|
|
|
9701e4 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-4
|
|
|
9701e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
9701e4 |
|
|
|
9701e4 |
* Sun Dec 02 2018 Julien Enselme <jujens@jujens.eu> - 0.9.2-3
|
|
|
9701e4 |
- Remove Python 2 subpackage.
|
|
|
9701e4 |
|
|
|
9701e4 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-2
|
|
|
9701e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
9701e4 |
|
|
|
9701e4 |
* Fri Jul 06 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.9.2-1
|
|
|
9701e4 |
- Update to 0.9.2
|
|
|
9701e4 |
|
|
|
9701e4 |
* Tue Jul 03 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.9.1-1
|
|
|
9701e4 |
- Update to 0.9.1
|
|
|
9701e4 |
|
|
|
9701e4 |
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-2
|
|
|
9701e4 |
- Rebuilt for Python 3.7
|
|
|
9701e4 |
|
|
|
9701e4 |
* Sat Jun 30 2018 Julien Enselme <jujens@jujens.eu> - 0.9.0-1
|
|
|
9701e4 |
- Update to 0.9.0
|
|
|
9701e4 |
|
|
|
9701e4 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-2
|
|
|
9701e4 |
- Rebuilt for Python 3.7
|
|
|
9701e4 |
|
|
|
9701e4 |
* Mon May 07 2018 Julien Enselme <jujens@jujens.eu> - 0.8.1-1
|
|
|
9701e4 |
- Update to 0.8.1
|
|
|
9701e4 |
|
|
|
9701e4 |
* Mon Mar 19 2018 Carl George <carl@george.computer> - 0.8.0-5
|
|
|
9701e4 |
- Rename python3 subpackage to python34
|
|
|
9701e4 |
|
|
|
9701e4 |
* Thu Feb 15 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.8.0-4
|
|
|
9701e4 |
- make spec file compatible with epel7
|
|
|
9701e4 |
- remove conditionals and always build for Python 3
|
|
|
9701e4 |
|
|
|
9701e4 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
|
|
|
9701e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
9701e4 |
|
|
|
9701e4 |
* Mon Jan 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.8.0-2
|
|
|
9701e4 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
9701e4 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
9701e4 |
|
|
|
9701e4 |
* Wed Dec 27 2017 Julien Enselme <jujens@jujens.eu> - 0.8.0-1
|
|
|
9701e4 |
- Update to 0.8.0
|
|
|
9701e4 |
|
|
|
9701e4 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.11-2
|
|
|
9701e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
9701e4 |
|
|
|
9701e4 |
* Fri Apr 07 2017 Julien Enselme <jujens@jujens.eu> - 0.7.11-1
|
|
|
9701e4 |
- Update to 0.7.11
|
|
|
9701e4 |
|
|
|
9701e4 |
* Wed Feb 15 2017 Julien Enselme <jujens@jujens.eu> - 0.7.10-1
|
|
|
9701e4 |
- Update to 0.7.10
|
|
|
9701e4 |
|
|
|
9701e4 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.9-4
|
|
|
9701e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
9701e4 |
|
|
|
9701e4 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.7.9-3
|
|
|
9701e4 |
- Rebuild for Python 3.6
|
|
|
9701e4 |
|
|
|
9701e4 |
* Wed Nov 23 2016 Damien Ciabrini <dciabrin@redhat.com> - 0.7.9-2
|
|
|
9701e4 |
- cherrypick commit 755dfdc upstream to allow bind before connect
|
|
|
9701e4 |
Related: rhbz#1378008
|
|
|
9701e4 |
|
|
|
9701e4 |
* Sun Sep 18 2016 Julien Enselme <jujens@jujens.eu> - 0.7.9-1
|
|
|
9701e4 |
- Update to 0.7.9
|
|
|
9701e4 |
|
|
|
9701e4 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.7-6
|
|
|
9701e4 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
9701e4 |
|
|
|
9701e4 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.7-5
|
|
|
9701e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
9701e4 |
|
|
|
9701e4 |
* Mon Jan 4 2016 Julien Enselme <jujens@jujens.eu> - 0.6.7-4
|
|
|
9701e4 |
- Correct installation problems due to Requires: mariadb
|
|
|
9701e4 |
|
|
|
9701e4 |
* Thu Nov 5 2015 Julien Enselme <jujens@jujens.eu> - 0.6.7-3
|
|
|
9701e4 |
- Rebuilt for python 3.5
|
|
|
9701e4 |
|
|
|
9701e4 |
* Wed Nov 4 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 0.6.7-2
|
|
|
9701e4 |
- Drop unnecessary mariadb requirement
|
|
|
9701e4 |
- Add python3 conditionals in order to rebuild it in EL7
|
|
|
9701e4 |
|
|
|
9701e4 |
* Thu Oct 1 2015 Julien Enselme <jujens@jujens.eu> - 0.6.7-1
|
|
|
9701e4 |
- Update to 0.6.7
|
|
|
9701e4 |
|
|
|
9701e4 |
* Thu Aug 6 2015 Julien Enselme <jujens@jujens.eu> - 0.6.6-4
|
|
|
9701e4 |
- Use %%license in %%files
|
|
|
9701e4 |
|
|
|
9701e4 |
* Wed Aug 5 2015 Julien Enselme <jujens@jujens.eu> - 0.6.6-3
|
|
|
9701e4 |
- Move python2 package in its own subpackage
|
|
|
9701e4 |
- Add provides
|
|
|
9701e4 |
|
|
|
9701e4 |
* Fri Jul 31 2015 Julien Enselme <jujens@jujens.eu> - 0.6.6-2
|
|
|
9701e4 |
- Add Provides: python2-PyMySQL
|
|
|
9701e4 |
- Remove usage of %%py3dir
|
|
|
9701e4 |
|
|
|
9701e4 |
* Sun May 31 2015 Julien Enselme <jujens@jujens.eu> - 0.6.6-1
|
|
|
9701e4 |
- Update to 0.6.6
|
|
|
9701e4 |
|
|
|
9701e4 |
* Wed Nov 26 2014 Julien Enselme <jujens@jujens.eu> - 0.6.2-1
|
|
|
9701e4 |
- Initial packaging
|