Do not lowercase hostnames with custom-protocol (rhbz 1574684)
upstream: https://github.com/urllib3/urllib3/issues/1267
This commit is contained in:
parent
92407fc699
commit
7cd6e0b882
4 changed files with 235 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: python-%{srcname}
|
||||
Version: 1.20
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Python HTTP library with thread-safe connection pooling and file post
|
||||
|
||||
License: MIT
|
||||
|
|
@ -10,6 +10,12 @@ URL: https://github.com/shazow/urllib3
|
|||
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
# Used with Python 3.5+
|
||||
Source1: ssl_match_hostname_py3.py
|
||||
# https://github.com/urllib3/urllib3/commit/b67976b2a85b0d5f5c3dc53ec4ad41f22e2992f6
|
||||
Patch0001: 0001-only-normalize-http-s-urls.patch
|
||||
# https://github.com/urllib3/urllib3/commit/9f09cb4b9d69bd8944c881f61b8fe933ad425b5b
|
||||
Patch0002: 0002-Do-not-lowercase-hostnames-with-custom-protocol.patch
|
||||
# https://github.com/urllib3/urllib3/commit/4bff1e93d2dd4663d422d7e290473d9189cec5db
|
||||
Patch0003: 0003-Move-RECENT_DATE-to-2017-06-30.patch
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
|
|
@ -73,6 +79,10 @@ Python3 HTTP module with connection pooling and file POST abilities.
|
|||
|
||||
%prep
|
||||
%setup -q -n %{srcname}-%{version}
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
# Drop the dummyserver tests in koji. They fail there in real builds, but not
|
||||
# in scratch builds (weird).
|
||||
rm -rf test/with_dummyserver/
|
||||
|
|
@ -135,6 +145,10 @@ nosetests-%{python3_version}
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu May 03 2018 Lukas Slebodnik <lslebodn@fedoraproject.org> - 1.20-3
|
||||
- Do not lowercase hostnames with custom-protocol (rhbz 1574684)
|
||||
- upstream: https://github.com/urllib3/urllib3/issues/1267
|
||||
|
||||
* Fri Dec 01 2017 Jeremy Cline <jeremy@jcline.org> - 1.20-2
|
||||
- Symlink the Python 3 bytecode for six (rbhz 1519147)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue