diff --git a/python-trollius.spec b/python-trollius.spec index f31942a770..cd9595d451 100644 --- a/python-trollius.spec +++ b/python-trollius.spec @@ -5,7 +5,7 @@ %global pypiname trollius Name: python-trollius Version: 2.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A port of the Tulip asyncio module to Python 2 Group: Development/Libraries @@ -29,28 +29,35 @@ BuildRequires: python3-setuptools %{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif -Requires: python-futures -Requires: python-six - # required for check BuildRequires: python-unittest2 BuildRequires: python-futures + +%global _description\ +\ +Trollius provides infrastructure for writing single-threaded\ +concurrent code using coroutines, multiplexing I/O access over sockets\ +and other resources, running network clients and servers, and other\ +related primitives.\ +\ +Trollius is a portage of the asyncio project (PEP 3156) on Python\ +2. Trollius works on Python 2.6-3.5. It has been tested on Windows,\ +Linux, Mac OS X, FreeBSD and OpenIndiana. + +%description %_description + +%package -n python2-trollius +Summary: %summary +Requires: python-futures +Requires: python-six %if 0%{?rhel}==6 # things required just by python2.6 on RHEL Requires: python-ordereddict %endif +%{?python_provide:%python_provide python2-trollius} -%description - -Trollius provides infrastructure for writing single-threaded -concurrent code using coroutines, multiplexing I/O access over sockets -and other resources, running network clients and servers, and other -related primitives. - -Trollius is a portage of the asyncio project (PEP 3156) on Python -2. Trollius works on Python 2.6-3.5. It has been tested on Windows, -Linux, Mac OS X, FreeBSD and OpenIndiana. +%description -n python2-trollius %_description %if 0%{?with_python3} %package -n python3-trollius @@ -105,7 +112,7 @@ popd #popd #%endif -%files +%files -n python2-trollius %defattr(-,root,root,-) %doc README.rst %{python2_sitelib}/trollius @@ -122,6 +129,10 @@ popd %endif %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 2.1-6 +- Python 2 binary package renamed to python2-trollius + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild