forked from pool/python-autobahn
Accepting request 809561 from home:pgajdos:python
submit OBS-URL: https://build.opensuse.org/request/show/809561 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=29
This commit is contained in:
committed by
Git OBS Bridge
parent
70f0e814f2
commit
14444775df
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 27 09:36:10 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- %python3_only -> %python_alternative
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 20 05:41:32 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -72,6 +72,8 @@ Requires: python3-txaio >= 18.8.1
|
||||
Requires: python3-ujson >= 1.35
|
||||
Requires: python3-wsaccel >= 0.6.2
|
||||
Requires: python3-zope.interface >= 3.6.0
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -93,6 +95,7 @@ export CFLAGS="%{optflags}"
|
||||
%install
|
||||
export AUTOBAHN_USE_NVX=true
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/wamp
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
@@ -102,10 +105,16 @@ export PYTHONDONTWRITEBYTECODE=1
|
||||
export PY_IGNORE_IMPORTMISMATCH=1
|
||||
%pytest_arch
|
||||
|
||||
%post
|
||||
%python_install_alternative wamp
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative wamp
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitearch}/*
|
||||
%python3_only %{_bindir}/wamp
|
||||
%python_alternative %{_bindir}/wamp
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user