forked from pool/python-urllib3
- 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:
committed by
Git OBS Bridge
parent
51714d024b
commit
2f366d4311
@@ -70,7 +70,7 @@ Highlights
|
||||
%setup -q -n urllib3-%{version}
|
||||
%patch1 -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
|
||||
%endif
|
||||
|
||||
|
Reference in New Issue
Block a user