14
0

Accepting request 560897 from home:dimstar:Factory

- Add python-urllib3-recent-date.patch: Fix test suite, use correct
  date (gh#shazow/urllib3#1303, boo#1074247).

OBS-URL: https://build.opensuse.org/request/show/560897
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=34
This commit is contained in:
Tomáš Chvátal
2017-12-31 15:41:16 +00:00
committed by Git OBS Bridge
parent 2f366d4311
commit cc94804031
3 changed files with 44 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ Patch1: urllib3-test-no-coverage.patch
Patch2: urllib3-ssl-default-context.patch
# PATCH-FIX-OPENSUSE -- do not use unsupported SSLv3 in tests
Patch3: urllib3-test-ssl-drop-sslv3.patch
# PATCH-FIX-UPSTREAM python-urllib3-recent-date.patch gh#shazow/urllib3#1303, boo#1074247 dimstar@opensuse.org -- Fix test suite, use correct date
Patch4: python-urllib3-recent-date.patch
BuildRequires: python-rpm-macros
#!BuildIgnore: python-requests
BuildRequires: %{python_module PySocks}
@@ -73,6 +75,7 @@ Highlights
%if %(python3 -c "import ssl; print(hasattr(ssl,'PROTOCOL_TLSv1_2'))") == "True"
%patch3 -p1
%endif
%patch4 -p1
%build
%python_build