From fc483af3d8e36d1da61d6530cb509341cd9d10469adb1f6ee9fdf2991ae44084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 10 Mar 2018 10:18:27 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=2 --- python-autobahn.spec | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/python-autobahn.spec b/python-autobahn.spec index 47825c5..6712e14 100644 --- a/python-autobahn.spec +++ b/python-autobahn.spec @@ -13,42 +13,43 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} %{!?skip_python3:python3-%{**}}} Name: python-autobahn Version: 17.10.1 Release: 0 -License: MIT Summary: WebSocket and WAMP in Python for Twisted and asyncio -Url: http://crossbar.io/autobahn +License: MIT Group: Development/Languages/Python +Url: http://crossbar.io/autobahn Source: https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module unittest2} BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: python-trollius +Requires: python-Twisted +Requires: python-six +Requires: python-txaio +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Twisted} BuildRequires: %{python_module six >= 1.10.0} BuildRequires: %{python_module txaio} # /SECTION -Requires: python-Twisted -Requires: python-six -Requires: python-txaio -BuildArch: noarch -%ifpython2 -BuildRequires: python-trollius +%ifpythhon2 +Requires: python-trollius %endif - %python_subpackages %description -WebSocket allows bidirectional real-time messaging on the Web and WAMP adds -asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket. +WebSocket allows bidirectional real-time messaging on the Web and WAMP adds +asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket. %prep %setup -q -n autobahn-%{version}