diff --git python-remoto/python-remoto.spec python-remoto/python-remoto.spec.tmp index 9b30417470..0cce025746 100644 --- python-remoto/python-remoto.spec +++ python-remoto/python-remoto.spec.tmp @@ -11,7 +11,7 @@ Name: python-%{pkgname} Version: 0.0.30 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Execute remote commands or processes License: MIT @@ -33,10 +33,17 @@ BuildRequires: python3-mock BuildRequires: python3-setuptools %endif # with_python3 +%global _description\ +Execute remote commands or processes. + +%description %_description + +%package -n python2-%{pkgname} +Summary: %summary Requires: python-execnet >= 1.2.0 +%{?python_provide:%python_provide python2-%{pkgname}} -%description -Execute remote commands or processes. +%description -n python2-%{pkgname} %_description %if 0%{?with_python3} %package -n python3-%{pkgname} @@ -86,7 +93,7 @@ py.test-%{python3_version} -v remoto/tests popd %endif # with_python3 -%files +%files -n python2-%{pkgname} %license LICENSE %doc README.rst %{python2_sitelib}/* @@ -100,6 +107,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.0.30-3 +- Python 2 binary package renamed to python2-remoto + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.0.30-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild