diff --git python-txws/python-txws.spec python-txws/python-txws.spec.tmp index 0b31ba6762..6cf2525957 100644 --- python-txws/python-txws.spec +++ python-txws/python-txws.spec.tmp @@ -13,7 +13,7 @@ Name: python-txws Version: 0.9.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Twisted WebSockets wrapper Group: Development/Languages @@ -37,13 +37,20 @@ BuildRequires: python3-twisted BuildRequires: python3-six %endif +%global _description\ +txWS (pronounced "Twisted WebSockets") is a small, short, simple library\ +for adding WebSockets server support to your favorite Twisted applications. + +%description %_description + +%package -n python2-txws +Summary: %summary Requires: python-twisted-core Requires: python-twisted-web Requires: python-six +%{?python_provide:%python_provide python2-txws} -%description -txWS (pronounced "Twisted WebSockets") is a small, short, simple library -for adding WebSockets server support to your favorite Twisted applications. +%description -n python2-txws %_description %if 0%{?with_python3} %package -n python3-txws @@ -96,7 +103,7 @@ cp -a . %{py3dir} #PYTHONPATH=$(pwd) trial tests.py # XXX - also, python3 tests? -%files +%files -n python2-txws %doc README.rst %{python2_sitelib}/%{modname}.py* %{python2_sitelib}/%{capname}-%{version}-*.egg-info @@ -111,6 +118,10 @@ cp -a . %{py3dir} %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.9.1-9 +- Python 2 binary package renamed to python2-txws + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.9.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild