Explicitly pass prefix to setup.py install
This fixes the flatpak module build which otherwise ends up installing into the /usr prefix (instead of /app) in F37+.
This commit is contained in:
parent
b630888254
commit
b8acd8cd2b
|
@ -146,7 +146,7 @@ env OPENBLAS=%{_libdir} \
|
|||
FFTW=%{_libdir} BLAS=%{_libdir} \
|
||||
LAPACK=%{_libdir} CFLAGS="%{optflags}" \
|
||||
SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||
%{__python3} setup.py install --root %{buildroot}
|
||||
%{__python3} setup.py install --root %{buildroot} --prefix=%{_prefix}
|
||||
pushd %{buildroot}%{_bindir} &> /dev/null
|
||||
ln -s f2py3 f2py.numpy
|
||||
popd &> /dev/null
|
||||
|
|
Loading…
Reference in New Issue