Compare commits
No commits in common. "c8-beta-stream-3.9" and "c8-stream-3.6" have entirely different histories.
c8-beta-st
...
c8-stream-
14
SOURCES/default_charset_revert.patch
Normal file
14
SOURCES/default_charset_revert.patch
Normal file
@ -0,0 +1,14 @@
|
||||
# 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
|
||||
|
||||
|
||||
@ -9,6 +9,8 @@ License: MIT
|
||||
URL: https://pypi.python.org/pypi/%{pypi_name}/
|
||||
Source0: https://files.pythonhosted.org/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz
|
||||
|
||||
Patch0: default_charset_revert.patch
|
||||
|
||||
BuildArch: noarch
|
||||
# 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.
|
||||
@ -24,9 +26,9 @@ and Jython.
|
||||
%package -n python%{python3_pkgversion}-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
BuildRequires: python%{python3_pkgversion}-cryptography
|
||||
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
||||
Requires: python%{python3_pkgversion}-cryptography
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
||||
|
||||
@ -38,6 +40,7 @@ and Jython.
|
||||
|
||||
%prep
|
||||
%setup -qn %{pypi_name}-%{version}
|
||||
%patch0 -p1
|
||||
rm -rf %{pypi_name}.egg-info
|
||||
# Remove tests files so they are not installed globally.
|
||||
rm -rf tests
|
||||
@ -62,24 +65,18 @@ rm -rf tests
|
||||
%{python3_sitelib}/pymysql/
|
||||
|
||||
%changelog
|
||||
* Mon Jan 18 2021 Tomas Orsava <torsava@redhat.com> - 0.10.1-2
|
||||
- Convert from Fedora to the python39 module in RHEL8
|
||||
- Resolves: rhbz#1877430
|
||||
* Wed Jan 20 2021 Lukas Javorsky <ljavorsk@redhat.com> - 0.10.1-2
|
||||
- Revert upstream change of default charset (from utf8mb4 to latin1)
|
||||
- Resolves BZ#1885641
|
||||
|
||||
* Thu Sep 10 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.10.1-1
|
||||
- Update to 0.10.1 (#1877703)
|
||||
* Tue Oct 06 2020 Michal Schorm <mschorm@redhat.com> - 0.10.1-1
|
||||
- Rebase to 0.10 version to add support for MariaDB ed25519 authentication mechanism
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 0.9.3-3
|
||||
- Exclude unsupported i686 arch
|
||||
|
||||
* Sat Jul 18 2020 Julien Enselme <jujens@jujens.eu> - 0.10.0-1
|
||||
- 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
|
||||
* Thu Nov 21 2019 Lumír Balhar <lbalhar@redhat.com> - 0.9.3-2
|
||||
- Adjusted for Python 3.8 module in RHEL 8
|
||||
|
||||
* Mon Nov 18 2019 Lumír Balhar <lbalhar@redhat.com> - 0.9.3-1
|
||||
- New upstream version 0.9.3
|
||||
|
||||
Loading…
Reference in New Issue
Block a user