| |
@@ -4,13 +4,15 @@
|
| |
%bcond_without tests
|
| |
|
| |
Name: python-%{srcname}
|
| |
- Version: 1.26.4
|
| |
- Release: 3%{?dist}
|
| |
+ Version: 1.26.5
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Python HTTP library with thread-safe connection pooling and file post
|
| |
|
| |
License: MIT
|
| |
URL: https://github.com/urllib3/urllib3
|
| |
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
| |
+ # Unbundle ssl_match_hostname since we depend on it
|
| |
+ Source1: ssl_match_hostname_py3.py
|
| |
BuildArch: noarch
|
| |
|
| |
%description
|
| |
@@ -90,10 +92,10 @@
|
| |
# Unbundle the Python 3 build
|
| |
rm -rf %{buildroot}/%{python3_sitelib}/urllib3/packages/six.py
|
| |
rm -rf %{buildroot}/%{python3_sitelib}/urllib3/packages/__pycache__/six.*
|
| |
- rm -rf %{buildroot}/%{python3_sitelib}/urllib3/packages/ssl_match_hostname/_implementation.py
|
| |
- rm -rf %{buildroot}/%{python3_sitelib}/urllib3/packages/ssl_match_hostname/__pycache__/_implementation.*
|
| |
+ rm -rf %{buildroot}/%{python3_sitelib}/urllib3/packages/ssl_match_hostname/
|
| |
|
| |
mkdir -p %{buildroot}/%{python3_sitelib}/urllib3/packages/
|
| |
+ cp -a %{SOURCE1} %{buildroot}/%{python3_sitelib}/urllib3/packages/ssl_match_hostname.py
|
| |
ln -s %{python3_sitelib}/six.py %{buildroot}/%{python3_sitelib}/urllib3/packages/six.py
|
| |
ln -s %{python3_sitelib}/__pycache__/six.cpython-%{python3_version_nodots}.opt-1.pyc \
|
| |
%{buildroot}/%{python3_sitelib}/urllib3/packages/__pycache__/
|
| |
@@ -115,6 +117,10 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Wed Jun 16 2021 Karolina Surma <ksurma@redhat.com> - 1.26.5-1
|
| |
+ - Update to 1.26.5
|
| |
+ - Fixes rhbz#1965056
|
| |
+
|
| |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.26.4-3
|
| |
- Rebuilt for Python 3.10
|
| |
|
| |
This package is one of the dependencies of pipenv and we'd like to make sure that when it is updated, pipenv will still work correctly.
This PR adds configuration that executes tests placed in pipenv repository. No actual test scripts are being added here.
The tests run automatically on Fedora CI when a new Pull request to this repository is open.