diff --git python-dockerpty/python-dockerpty.spec python-dockerpty/python-dockerpty.spec.tmp index de9a2ed572..1edb227c99 100644 --- python-dockerpty/python-dockerpty.spec +++ python-dockerpty/python-dockerpty.spec.tmp @@ -11,7 +11,7 @@ Name: python-%{upstream_name} Version: 0.4.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python library to use the pseudo-tty of a docker container Group: Development/Libraries @@ -19,15 +19,23 @@ License: ASL 2.0 URL: https://github.com/%{owner}/%{upstream_name} Source0: https://github.com/%{owner}/%{upstream_name}/archive/%{commit}/%{upstream_name}-%{commit}.tar.gz -Requires: python-six BuildRequires: python-devel python-setuptools python-six BuildArch: noarch -%description -Provides the functionality needed to operate the pseudo-tty (PTY) allocated to +%global _description\ +Provides the functionality needed to operate the pseudo-tty (PTY) allocated to\ a docker container, using the Python client +%description %_description + +%package -n python2-%{upstream_name} +Summary: %summary +Requires: python-six +%{?python_provide:%python_provide python2-%{upstream_name}} + +%description -n python2-%{upstream_name} %_description + %if 0%{?with_python3} %package -n python3-%{upstream_name} Summary: Python library to use the pseudo-tty of a docker container @@ -68,7 +76,7 @@ a docker container, using the Python client # LANG=en_US.utf8 py.test-%%{python2_version} -vv tests -%files +%files -n python2-%{upstream_name} %doc README.md LICENSE.txt MANIFEST.in %dir %{python2_sitelib}/dockerpty %{python2_sitelib}/dockerpty/* @@ -86,6 +94,10 @@ a docker container, using the Python client %endif # with_python3 %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.4.1-8 +- Python 2 binary package renamed to python2-dockerpty + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.4.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild