Accepting request 855783 from home:bnavigator:branches:devel:languages:python
- If you skip_python2 you don't need mock. mcepl: This still has the wrong condition, we talked about yesterday. OBS-URL: https://build.opensuse.org/request/show/855783 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=110
This commit is contained in:
parent
6c92a26185
commit
0d81b01f4f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 14 15:21:26 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- If you skip_python2 you don't need mock.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Dec 13 21:46:22 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
Sun Dec 13 21:46:22 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%define oldpython python
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define psuffix -test
|
%define psuffix -test
|
||||||
@ -54,10 +53,6 @@ Requires: python-six >= 1.12.0
|
|||||||
Recommends: python-PySocks >= 1.5.6
|
Recommends: python-PySocks >= 1.5.6
|
||||||
Recommends: python-brotlipy >= 0.6.0
|
Recommends: python-brotlipy >= 0.6.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# for SSL module on older distros
|
|
||||||
%if 0%{?suse_version} < 1500
|
|
||||||
BuildRequires: %{oldpython}
|
|
||||||
%endif
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module PySocks >= 1.5.6}
|
BuildRequires: %{python_module PySocks >= 1.5.6}
|
||||||
BuildRequires: %{python_module brotlipy >= 0.6.0}
|
BuildRequires: %{python_module brotlipy >= 0.6.0}
|
||||||
@ -75,9 +70,6 @@ BuildRequires: %{python_module python-dateutil}
|
|||||||
BuildRequires: %{python_module tornado >= 6}
|
BuildRequires: %{python_module tornado >= 6}
|
||||||
BuildRequires: %{python_module trustme >= 0.5.3}
|
BuildRequires: %{python_module trustme >= 0.5.3}
|
||||||
BuildRequires: %{python_module urllib3 >= %{version}}
|
BuildRequires: %{python_module urllib3 >= %{version}}
|
||||||
%if "%{python_flavor}" == "python2"
|
|
||||||
BuildRequires: %{python_module mock}
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user