From 4e22dadf772f95cbfb914b4832cb47f976716e56 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 10 Mar 2022 06:33:53 +0100 Subject: [PATCH] - updated to 1.26.8 --- python-urllib3-mock.patch | 10 +++++----- python-urllib3.spec | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/python-urllib3-mock.patch b/python-urllib3-mock.patch index 6d99afb..3df5f61 100644 --- a/python-urllib3-mock.patch +++ b/python-urllib3-mock.patch @@ -133,11 +133,11 @@ import pytest import six ---- urllib3-1.25.9/test/with_dummyserver/test_https.py.orig 2020-04-16 14:42:30.000000000 +0200 -+++ urllib3-1.25.9/test/with_dummyserver/test_https.py 2020-06-07 22:18:03.172522789 +0200 -@@ -8,7 +8,10 @@ - import tempfile - import warnings +--- urllib3-1.26.8/test/with_dummyserver/test_https.py.orig 2022-03-10 06:29:38.588432315 +0100 ++++ urllib3-1.26.8/test/with_dummyserver/test_https.py 2022-03-10 06:30:20.714870763 +0100 +@@ -19,7 +19,10 @@ from test import ( + resolvesLocalhostFQDN, + ) -import mock +try: diff --git a/python-urllib3.spec b/python-urllib3.spec index 30a3224..becbf51 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -11,13 +11,13 @@ Summary: HTTP library with thread-safe connection pooling, file post, and more Summary(pl.UTF-8): Biblioteka HTTP z bezpieczną wątkowo pulą połączeń, wysyłaniem plików itd. Name: python-%{module} # note: maintain versions compatible with python-requests.spec -Version: 1.26.2 +Version: 1.26.8 Release: 1 License: MIT Group: Development/Languages/Python #Source0Download: https://pypi.org/simple/urllib3/ Source0: https://files.pythonhosted.org/packages/source/u/urllib3/%{module}-%{version}.tar.gz -# Source0-md5: 2233256ccfe140a915f68703f8c2cc1f +# Source0-md5: 50831ca7b19bbe2781abb0a4c2d51760 Patch0: %{name}-mock.patch Patch1: %{name}-httplib.patch URL: https://urllib3.readthedocs.io/ @@ -190,7 +190,7 @@ rm -rf $RPM_BUILD_ROOT %if %{with python2} %files %defattr(644,root,root,755) -%doc CHANGES.rst CONTRIBUTORS.txt LICENSE.txt README.rst +%doc CHANGES.rst LICENSE.txt README.rst %{py_sitescriptdir}/%{module} %{py_sitescriptdir}/%{module}-%{version}-py*.egg-info %endif @@ -198,7 +198,7 @@ rm -rf $RPM_BUILD_ROOT %if %{with python3} %files -n python3-urllib3 %defattr(644,root,root,755) -%doc CHANGES.rst CONTRIBUTORS.txt LICENSE.txt README.rst +%doc CHANGES.rst LICENSE.txt README.rst %{py3_sitescriptdir}/%{module} %{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info %endif -- 2.44.0