upgrade python-urllib3 version to 1.26.12

This commit is contained in:
chenhaixing 2022-11-07 22:05:14 +08:00
parent 8cfab6c027
commit ba0529de92
3 changed files with 8 additions and 4 deletions

BIN
1.26.12.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -2,12 +2,12 @@
%bcond_without tests
Name: python-%{srcname}
Version: 1.26.7
Release: 3
Version: 1.26.12
Release: 1
Summary: Sanity-friendly HTTP client for Python
License: MIT
URL: https://urllib3.readthedocs.io
Source0: https://github.com/urllib3/urllib3/archive/%{version}/%{version}.tar.gz
Source0: https://github.com/urllib3/urllib3/archive/refs/tags/%{version}.tar.gz
Source1: ssl_match_hostname_py3.py
Patch0001: remove_mock.patch
@ -27,9 +27,10 @@ BuildRequires: python3-setuptools
%if %{with tests}
BuildRequires: python3-cryptography python3-mock python3-six python-idna python-dateutil
BuildRequires: python3-pysocks python3-pytest python3-tornado python-trustme
BuildRequires: python3-pytest-timeout
%endif
Requires: ca-certificates python3-idna python3-six python3-pysocks
Requires: ca-certificates python3-idna python3-six >= 1.16.0 python3-pysocks
%description -n python3-urllib3
Python3 HTTP module with connection pooling and file POST abilities.
@ -77,6 +78,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib}:%{python3_sitelib} %{__python3} -m pyt
%{python3_sitelib}/urllib3-*.egg-info
%changelog
* Mon Nov 7 2022 chenhaixing <chenhaixing@huawei.com> - 1.26.12-1
- DESC:upgrade python-urllib3 version to 1.26.12
* Tue Aug 09 2022 chenhaixing <chenhaixing@huawei.com> - 1.26.7-3
- modify RECENT_DATE in python-urllib3.spec to adapt time change