diff --git a/python-docker-py.spec b/python-docker-py.spec index 43bf1e30e2..4ff16e38cf 100644 --- a/python-docker-py.spec +++ b/python-docker-py.spec @@ -19,7 +19,7 @@ Name: python-docker-py Version: 1.10.6 -Release: 5%{?dist} +Release: 6%{?dist} Epoch: 1 Summary: An API client for docker written in Python License: ASL 2.0 @@ -46,23 +46,31 @@ BuildRequires: python2-docker-pycreds %endif # tests %if 0%{?fedora} >= 22 -Requires: python-requests >= 2.5.2 BuildRequires: python-requests >= 2.5.2 %else -Requires: python-requests BuildRequires: python-requests %endif +%global _description\ +%{summary} + +%description %_description + +%package -n python2-docker-py +Summary: %summary +%if 0%{?fedora} >= 22 +Requires: python-requests >= 2.5.2 +%else +Requires: python-requests +%endif Requires: python-websocket-client >= 0.32.0 Requires: python-six >= 1.4.0 Requires: python-ipaddress Requires: python-backports-ssl_match_hostname Requires: python2-docker-pycreds +%{?python_provide:%python_provide python2-docker-py} -Provides: python2-docker-py = %{version}-%{release} - -%description -%{summary} +%description -n python2-docker-py %_description %if %{with python3} %package -n python3-docker-py @@ -118,7 +126,7 @@ PYTHONPATH="${PWD}" py.test-%{python3_version} tests/unit/ || : %endif # with_python3 -%files +%files -n python2-docker-py %license LICENSE %doc README.md %dir %{python_sitelib}/docker @@ -137,6 +145,10 @@ PYTHONPATH="${PWD}" py.test-%{python3_version} tests/unit/ || : %endif # with_python3 %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 1:1.10.6-6 +- Python 2 binary package renamed to python2-docker-py + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1:1.10.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild