15
0
forked from pool/python-docker

- update to 5.0.3:

* Add cap_add and cap_drop parameters to service create and ContainerSpec
  * Add templating parameter to config create
  * Bump urllib3 to 1.26.5
  * Bump requests to 2.26.0
  * Remove support for Python 2.7
  * Make Python 3.6 the minimum version supported

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=45
This commit is contained in:
2021-12-11 22:15:02 +00:00
committed by Git OBS Bridge
parent a45b6f65ac
commit b98f99ced7
4 changed files with 16 additions and 14 deletions

View File

@@ -17,9 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
%global skip_python2 1
Name: python-docker
Version: 4.4.4
Version: 5.0.3
Release: 0
Summary: Docker API Client
License: Apache-2.0
@@ -49,18 +49,9 @@ Obsoletes: python-docker-py < %{version}
Provides: python-docker-py = %{version}
BuildArch: noarch
%if 0%{?suse_version} < 1320
BuildRequires: %{oldpython}
BuildRequires: %{python_module backports.ssl_match_hostname >= 3.5}
BuildRequires: python3
%endif
%ifpython2
Requires: %{oldpython}-backports.ssl_match_hostname >= 3.5
Requires: %{oldpython}-ipaddress >= 1.0.16
%endif
%ifpython2
Obsoletes: %{oldpython}-docker-py < %{version}
Provides: %{oldpython}-docker-py = %{version}
%endif
%python_subpackages
%description