15
0
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:
2018-07-09 20:29:26 +00:00
committed by Git OBS Bridge
parent e4e216ce21
commit 73f4ba23a3
2 changed files with 10 additions and 0 deletions

View File

@@ -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}