diff --git python-gevent-socketio/python-gevent-socketio.spec python-gevent-socketio/python-gevent-socketio.spec.tmp index acb8d8d245..56450ed879 100644 --- python-gevent-socketio/python-gevent-socketio.spec +++ python-gevent-socketio/python-gevent-socketio.spec.tmp @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 0.3.6 -Release: 5%{?dist} +Release: 6%{?dist} Summary: SocketIO server based on the Gevent pywsgi server License: BSD @@ -13,20 +13,28 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-versiontools -Requires: python-gevent -Requires: python-gevent-websocket -%description -gevent-socketio is a Python implementation of the Socket.IO -protocol, developed originally for Node.js by LearnBoost and then -ported to other languages. Socket.IO enables real-time web -communications between a browser and a server, using a WebSocket-like -API. One aim of this project is to provide a single gevent-based -API that works across the different WSGI-based web frameworks out -there (Pyramid, Pylons, Flask, web2py, Django, etc...). Only ~3 lines +%global _description\ +gevent-socketio is a Python implementation of the Socket.IO\ +protocol, developed originally for Node.js by LearnBoost and then\ +ported to other languages. Socket.IO enables real-time web\ +communications between a browser and a server, using a WebSocket-like\ +API. One aim of this project is to provide a single gevent-based\ +API that works across the different WSGI-based web frameworks out\ +there (Pyramid, Pylons, Flask, web2py, Django, etc...). Only ~3 lines\ of code are required to tie-in gevent-socketio in your framework. +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary +Requires: python-gevent +Requires: python-gevent-websocket +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{pypi_name} %_description + %prep %setup -q -n %{pypi_name}-%{version} # Remove bundled egg-info @@ -42,12 +50,16 @@ rm -rf %{pypi_name}.egg-info %{__python} setup.py install --skip-build --root %{buildroot} -%files +%files -n python2-%{pypi_name} %doc README.rst LICENSE %{python_sitelib}/socketio %{python_sitelib}/gevent_socketio-%{version}-py?.?.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.3.6-6 +- Python 2 binary package renamed to python2-gevent-socketio + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.3.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild