|
@@ -5,7 +5,7 @@
|
|
|
|
|
|
Summary: Python HTTP library with thread-safe connection pooling and file post
|
|
|
Name: python-%{srcname}
|
|
|
-Version: 1.26.3
|
|
|
+Version: 1.26.4
|
|
|
Release: 1%{?_dist_release}
|
|
|
Group: programming
|
|
|
Vendor: Project Vine
|
|
@@ -17,25 +17,21 @@ 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
|
|
|
|
|
|
+BuildArch: noarch
|
|
|
+BuildRequires: python-devel
|
|
|
+BuildRequires: python-rpm-macros
|
|
|
+BuildRequires: python2-rpm-macros
|
|
|
+BuildRequires: python2-setuptools
|
|
|
%{?python_provide:%python_provide python2-%{srcname}}
|
|
|
-
|
|
|
Requires: ca-certificates
|
|
|
-
|
|
|
# Previously bundled things:
|
|
|
Requires: python-six
|
|
|
#Requires: python-backports-ssl_match_hostname
|
|
|
-
|
|
|
# Secure extra requirements
|
|
|
Requires: python-ipaddress
|
|
|
Requires: python-pysocks
|
|
|
|
|
|
-BuildRequires: python-devel
|
|
|
-BuildRequires: python-rpm-macros
|
|
|
-BuildRequires: python2-rpm-macros
|
|
|
-BuildRequires: python2-setuptools
|
|
|
-
|
|
|
%description
|
|
|
Python HTTP module with connection pooling and file POST abilities.
|
|
|
|
|
@@ -43,11 +39,9 @@ Python HTTP module with connection pooling and file POST abilities.
|
|
|
%package -n python3-%{srcname}
|
|
|
Summary: Python3 HTTP library with thread-safe connection pooling and file post
|
|
|
Group: programming
|
|
|
-
|
|
|
BuildRequires: python3-devel
|
|
|
BuildRequires: python3-rpm-macros
|
|
|
BuildRequires: python3-setuptools
|
|
|
-
|
|
|
Requires: ca-certificates
|
|
|
Requires: python3-six
|
|
|
Requires: python3-pysocks
|
|
@@ -71,6 +65,7 @@ rm -rf test/contrib/
|
|
|
# fail when combined with the unbundling of backports-ssl_match_hostname
|
|
|
rm -f test/test_no_ssl.py
|
|
|
|
|
|
+
|
|
|
%build
|
|
|
%py_build
|
|
|
%py3_build
|
|
@@ -111,7 +106,6 @@ ln -s %{python3_sitelib}/__pycache__/six.cpython-%{python3_version_nodots}.pyc \
|
|
|
%{python_sitelib}/urllib3/
|
|
|
%{python_sitelib}/urllib3-*.egg-info
|
|
|
|
|
|
-
|
|
|
%files -n python3-%{srcname}
|
|
|
%license LICENSE.txt
|
|
|
%doc CHANGES.rst README.rst CONTRIBUTORS.txt
|
|
@@ -120,6 +114,9 @@ ln -s %{python3_sitelib}/__pycache__/six.cpython-%{python3_version_nodots}.pyc \
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Mar 24 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.26.4-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Tue Feb 23 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.26.3-1
|
|
|
- new upstream release.
|
|
|
|