diff --git a/python-slycot.changes b/python-slycot.changes index 44ca0d4..b39e48d 100644 --- a/python-slycot.changes +++ b/python-slycot.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jul 10 21:53:40 UTC 2022 - Ben Greiner + +- Restore finding correctly flavored f2py during build + ------------------------------------------------------------------- Sat Jul 9 12:04:37 UTC 2022 - Ben Greiner diff --git a/python-slycot.spec b/python-slycot.spec index f55831a..fcf5ab4 100644 --- a/python-slycot.spec +++ b/python-slycot.spec @@ -57,6 +57,11 @@ export CMAKE_GENERATOR="Unix Makefiles" # generic BLAS/LAPACK binaries so that update-alternatives can choose # the implementation for runtime. export BLA_VENDOR="Generic" +%{python_expand # give the pep517 build the correct f2py flavor +mkdir -p build/buildbin +ln -s %{_bindir}/f2py-%{$python_bin_suffix} build/buildbin/f2py3 +} +export PATH=$PWD/build/buildbin:$PATH %pyproject_wheel %install