diff --git a/python-websocket-client.spec b/python-websocket-client.spec index d81f9d2a9d..bc6f9adcd3 100644 --- a/python-websocket-client.spec +++ b/python-websocket-client.spec @@ -14,7 +14,7 @@ Name: python-websocket-client Version: 0.40.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: WebSocket client for python Group: Development/Libraries @@ -37,20 +37,29 @@ BuildRequires: python3-six %if 0%{?rhel} && 0%{?rhel} <= 6 BuildRequires: python-unittest2 BuildRequires: python-argparse -Requires: python-argparse %endif BuildRequires: python-backports-ssl_match_hostname -Requires: python-backports-ssl_match_hostname -Requires: python-six +%global _description\ +python-websocket-client module is WebSocket client for python. This\ +provides the low level APIs for WebSocket. All APIs are the synchronous\ +functions.\ +\ +python-websocket-client supports only hybi-13. -%description -python-websocket-client module is WebSocket client for python. This -provides the low level APIs for WebSocket. All APIs are the synchronous -functions. +%description %_description -python-websocket-client supports only hybi-13. +%package -n python2-websocket-client +Summary: %summary +%if 0%{?rhel} && 0%{?rhel} <= 6 +Requires: python-argparse +%endif +Requires: python-backports-ssl_match_hostname +Requires: python-six +%{?python_provide:%python_provide python2-websocket-client} + +%description -n python2-websocket-client %_description %if 0%{?with_python3} %package -n python3-websocket-client @@ -135,7 +144,7 @@ popd %{__python2} setup.py test -%files +%files -n python2-websocket-client %doc README.rst LICENSE %{python2_sitelib}/%{modname}/ %{python2_sitelib}/%{eggname}*%{version}* @@ -150,6 +159,10 @@ popd %endif %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.40.0-4 +- Python 2 binary package renamed to python2-websocket-client + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Fri Sep 29 2017 Troy Dawson - 0.40.0-3 - Cleanup spec file conditionals