From a445d940eca24f41e27a18a0611f1f46911233777004836be62b49e6fa9845bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 1 Apr 2019 11:05:29 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=14 --- python-autobahn.spec | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/python-autobahn.spec b/python-autobahn.spec index 6dd3b86..b931789 100644 --- a/python-autobahn.spec +++ b/python-autobahn.spec @@ -32,6 +32,7 @@ BuildRequires: %{python_module argon2-cffi >= 18.1.0} BuildRequires: %{python_module cbor >= 1.0.0} BuildRequires: %{python_module cbor2 >= 4.1.2} BuildRequires: %{python_module cffi >= 1.11.5} +BuildRequires: %{python_module devel} BuildRequires: %{python_module flatbuffers >= 1.10} BuildRequires: %{python_module lz4 >= 0.7.0} BuildRequires: %{python_module mock >= 1.3.0} @@ -54,7 +55,7 @@ BuildRequires: python-rpm-macros BuildRequires: python2-trollius BuildRequires: python3-pytest-aiohttp BuildRequires: python3-pytest-asyncio -Requires: python-PyNaCl >= 1.0.1} +Requires: python-PyNaCl >= 1.0.1 Requires: python-PyQRCode >= 1.1 Requires: python-Twisted >= 12.1.0 Requires: python-argon2-cffi >= 18.1.0 @@ -74,8 +75,6 @@ Requires: python-txaio >= 18.8.1 Requires: python-ujson >= 1.35 Requires: python-wsaccel >= 0.6.2 Requires: python-zope.interface >= 3.6.0 -BuildArch: noarch -#https://github.com/crossbario/autobahn-python/blob/master/setup.py#L108 %ifpython2 Requires: python-futures >= 3.0.4 Requires: python-trollius >= 2.0 @@ -94,15 +93,18 @@ export AUTOBAHN_USE_NVX=true %python_build %install +export AUTOBAHN_USE_NVX=true %python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitearch} %check export USE_ASYNCIO=true -%pytest +export AUTOBAHN_USE_NVX=true +%pytest_arch autobahn/ %files %{python_files} %license LICENSE -%{python_sitelib}/* +%doc README.rst +%{python_sitearch}/* %changelog