- use python3 for detection, in anticipation of python2 removal
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=32
This commit is contained in:
parent
51714d024b
commit
2f366d4311
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 19 11:48:58 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- use python3 for detection, in anticipation of python2 removal
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 11 14:55:33 UTC 2017 - toddrme2178@gmail.com
|
Fri Aug 11 14:55:33 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ Highlights
|
|||||||
%setup -q -n urllib3-%{version}
|
%setup -q -n urllib3-%{version}
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%if %(python -c "import ssl; print(hasattr(ssl,'PROTOCOL_TLSv1_2'))") == "True"
|
%if %(python3 -c "import ssl; print(hasattr(ssl,'PROTOCOL_TLSv1_2'))") == "True"
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user