From de4673c482bafdf8a22d9fcf58c3c5f0e42f46ad Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Jul 16 2020 13:57:48 +0000 Subject: Drop all manual requires See https://src.fedoraproject.org/rpms/python-docker/pull-request/27#comment-49856 --- diff --git a/python-docker.spec b/python-docker.spec index 0293307..70879b9 100644 --- a/python-docker.spec +++ b/python-docker.spec @@ -34,17 +34,6 @@ Summary: A Python library for the Docker Engine API BuildRequires: python2-devel BuildRequires: python%{?fedora:2}-setuptools -Requires: python%{?fedora:2}-requests >= 2.14.2 -Requires: python%{?fedora:2}-six >= 1.4.0 -Requires: python%{?fedora:2}-websocket-client >= 0.32.0 -Requires: python%{?fedora:2}-docker-pycreds >= 0.2.1 -Requires: python%{?fedora:2}-backports-ssl_match_hostname >= 3.5 -Requires: python%{?fedora:2}-ipaddress >= 1.0.16 -Requires: python%{?fedora:2}-pyOpenSSL -Requires: python%{?fedora:2}-idna -Requires: python%{?fedora:2}-cryptography -Requires: python%{?fedora:2}-paramiko - Obsoletes: python-docker-py < 1:2 %description -n python2-%{srcname} @@ -69,20 +58,7 @@ Summary: A Python library for the Docker Engine API BuildRequires: python3-devel BuildRequires: python3-setuptools -Requires: python3-requests >= 2.14.2 -Requires: python3-six >= 1.4.0 -Requires: python3-websocket-client >= 0.32.0 -Requires: python3-docker-pycreds >= 0.2.1 -Requires: python3-pyOpenSSL -Requires: python3-idna -Requires: python3-cryptography -Requires: python3-paramiko - -%if 0%{?fedora} >= 26 Obsoletes: python3-docker-py < 1:2 -%else -Obsoletes: python3-docker-py < 2 -%endif %description -n python3-%{srcname} It lets you do anything the docker command does, but from within Python apps – @@ -142,6 +118,7 @@ cp -avr tests/ %{buildroot}%{_libexecdir}/installed-tests/%{name}/ %changelog * Fri Jul 10 2020 Miro Hrončok - 4.2.1-2 - Add docker[ssh] subpackage +- Drop all manual requires * Thu Jun 18 2020 Tomas Tomecek - 4.2.1-1 - new upstream release: 4.2.1