forked from pool/python-docker
- fix build for older python 3.x versions
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=13
This commit is contained in:
@@ -26,6 +26,11 @@ License: Apache-2.0
|
||||
Group: System/Management
|
||||
URL: https://github.com/docker/docker-py
|
||||
Source0: https://files.pythonhosted.org/packages/source/d/docker/docker-%{version}.tar.gz
|
||||
%if 0%{?python3_version_nodots} < 36
|
||||
BuildRequires: %{oldpython}
|
||||
BuildRequires: %{python_module backports.ssl_match_hostname >= 3.5}
|
||||
BuildRequires: python3
|
||||
%endif
|
||||
BuildRequires: %{python_module docker-pycreds >= 0.2.3}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pip}
|
||||
|
||||
Reference in New Issue
Block a user