- 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 258a0ee221
commit bcae822937
2 changed files with 10 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 9 20:28:16 UTC 2018 - dmueller@suse.com
- fix build for older python 3.x versions
-------------------------------------------------------------------
Sun Jul 1 17:44:06 UTC 2018 - arun@gmx.de

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}