Explicitly switch off python2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=94
This commit is contained in:
Matej Cepl 2020-04-21 18:33:32 +00:00 committed by Git OBS Bridge
parent 4f41961611
commit 2afa4fbe4b

View File

@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define oldpython python
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"