Compare commits

...

No commits in common. "c8-stream-3.6" and "stream-python39-3.9-rhel-8.9.0" have entirely different histories.

5 changed files with 18 additions and 29 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/PyMySQL-0.10.1.tar.gz /PyMySQL-0.10.1.tar.gz

View File

@ -1 +0,0 @@
723f04ee8864c7b4eac41e48690fd73bf82c147c SOURCES/PyMySQL-0.10.1.tar.gz

View File

@ -1,14 +0,0 @@
# This default charset revert is discussed in BZ#1885641
--- PyMySQL-0.10.1/pymysql/connections.py.old 2021-01-20 16:52:27.393165771 +0100
+++ PyMySQL-0.10.1/pymysql/connections.py 2021-01-20 16:52:53.876589478 +0100
@@ -88,7 +88,7 @@
}
-DEFAULT_CHARSET = 'utf8mb4'
+DEFAULT_CHARSET = 'latin1'
MAX_PACKET_LEN = 2**24-1

View File

@ -9,8 +9,6 @@ License: MIT
URL: https://pypi.python.org/pypi/%{pypi_name}/ URL: https://pypi.python.org/pypi/%{pypi_name}/
Source0: https://files.pythonhosted.org/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz
Patch0: default_charset_revert.patch
BuildArch: noarch BuildArch: noarch
# Exclude i686 arch. Due to a modularity issue it's being added to the # Exclude i686 arch. Due to a modularity issue it's being added to the
# x86_64 compose of CRB, but we don't want to ship it at all. # x86_64 compose of CRB, but we don't want to ship it at all.
@ -26,9 +24,9 @@ and Jython.
%package -n python%{python3_pkgversion}-%{pypi_name} %package -n python%{python3_pkgversion}-%{pypi_name}
Summary: %{summary} Summary: %{summary}
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-rpm-macros
BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-cryptography BuildRequires: python%{python3_pkgversion}-cryptography
BuildRequires: python%{python3_pkgversion}-rpm-macros
Requires: python%{python3_pkgversion}-cryptography Requires: python%{python3_pkgversion}-cryptography
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} %{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
@ -40,7 +38,6 @@ and Jython.
%prep %prep
%setup -qn %{pypi_name}-%{version} %setup -qn %{pypi_name}-%{version}
%patch0 -p1
rm -rf %{pypi_name}.egg-info rm -rf %{pypi_name}.egg-info
# Remove tests files so they are not installed globally. # Remove tests files so they are not installed globally.
rm -rf tests rm -rf tests
@ -65,18 +62,24 @@ rm -rf tests
%{python3_sitelib}/pymysql/ %{python3_sitelib}/pymysql/
%changelog %changelog
* Wed Jan 20 2021 Lukas Javorsky <ljavorsk@redhat.com> - 0.10.1-2 * Mon Jan 18 2021 Tomas Orsava <torsava@redhat.com> - 0.10.1-2
- Revert upstream change of default charset (from utf8mb4 to latin1) - Convert from Fedora to the python39 module in RHEL8
- Resolves BZ#1885641 - Resolves: rhbz#1877430
* Tue Oct 06 2020 Michal Schorm <mschorm@redhat.com> - 0.10.1-1 * Thu Sep 10 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.10.1-1
- Rebase to 0.10 version to add support for MariaDB ed25519 authentication mechanism - Update to 0.10.1 (#1877703)
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 0.9.3-3 * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
- Exclude unsupported i686 arch - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Nov 21 2019 Lumír Balhar <lbalhar@redhat.com> - 0.9.3-2 * Sat Jul 18 2020 Julien Enselme <jujens@jujens.eu> - 0.10.0-1
- Adjusted for Python 3.8 module in RHEL 8 - Update to 0.10.0
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.3-3
- Rebuilt for Python 3.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Nov 18 2019 Lumír Balhar <lbalhar@redhat.com> - 0.9.3-1 * Mon Nov 18 2019 Lumír Balhar <lbalhar@redhat.com> - 0.9.3-1
- New upstream version 0.9.3 - New upstream version 0.9.3

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (PyMySQL-0.10.1.tar.gz) = 33dba505fd937ddece7b4c52a1db64084656bccc0b3e98ecee1227732fe03f4e8c3f4bcb64bcf67db54f3407f3ce8a706a08d3f992450755267b0e6c5b123b99