Compare commits
No commits in common. "c8-stream-3.6" and "stream-python38-3.8-rhel-8.9.0" have entirely different histories.
c8-stream-
...
stream-pyt
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
||||
SOURCES/PyMySQL-0.10.1.tar.gz
|
||||
/PyMySQL-0.9.3.tar.gz
|
||||
/PyMySQL-0.10.1.tar.gz
|
||||
|
||||
@ -1 +0,0 @@
|
||||
723f04ee8864c7b4eac41e48690fd73bf82c147c SOURCES/PyMySQL-0.10.1.tar.gz
|
||||
@ -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
|
||||
|
||||
|
||||
@ -2,15 +2,13 @@
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.10.1
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: Pure-Python MySQL client library
|
||||
|
||||
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.
|
||||
@ -40,7 +38,6 @@ 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
|
||||
@ -65,10 +62,6 @@ rm -rf tests
|
||||
%{python3_sitelib}/pymysql/
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user