diff --git a/python-autobahn.changes b/python-autobahn.changes index 7832f4f..a771b9d 100644 --- a/python-autobahn.changes +++ b/python-autobahn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 31 10:06:55 UTC 2020 - Guillaume GARDET + +- Fix installation path when NVX is not used (fix aarch64) + ------------------------------------------------------------------- Thu Aug 20 08:47:52 UTC 2020 - Guillaume GARDET diff --git a/python-autobahn.spec b/python-autobahn.spec index 1a6557e..65f8ad6 100644 --- a/python-autobahn.spec +++ b/python-autobahn.spec @@ -110,7 +110,11 @@ export AUTOBAHN_USE_NVX=true %python_install %python_clone -a %{buildroot}%{_bindir}/wamp %python_clone -a %{buildroot}%{_bindir}/xbrnetwork +%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 @@ -131,7 +135,11 @@ 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