15
0

Accepting request 961030 from home:Guillaume_G:branches:devel:languages:python

- Fix packaging for %arm, aarch64 and riscv64

OBS-URL: https://build.opensuse.org/request/show/961030
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=59
This commit is contained in:
2022-03-11 09:27:01 +00:00
committed by Git OBS Bridge
parent 67da95edb3
commit 5d5d01a81f
2 changed files with 5 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 11 08:54:00 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Fix packaging for %arm, aarch64 and riscv64
-------------------------------------------------------------------
Wed Mar 9 05:57:11 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -113,11 +113,7 @@ export AUTOBAHN_USE_NVX=true
%python_clone -a %{buildroot}%{_bindir}/wamp
%python_clone -a %{buildroot}%{_bindir}/xbrnetwork
%python_clone -a %{buildroot}%{_bindir}/xbrnetwork-ui
%if %{with nvx_support}
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%else
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
%if %{with nvx_support}
# It tries to test NVX, even if disabled
@@ -138,11 +134,7 @@ export PY_IGNORE_IMPORTMISMATCH=1
%files %{python_files}
%license LICENSE
%doc README.rst
%if %{with nvx_support}
%{python_sitearch}/*
%else
%{python_sitelib}/*
%endif
%python_alternative %{_bindir}/wamp
%python_alternative %{_bindir}/xbrnetwork
%python_alternative %{_bindir}/xbrnetwork-ui