From 37438358df35c0db54d2c2e67bf438bf13fddfd6150fd86c6dcfc9600a2692ec Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Tue, 7 Apr 2020 12:26:28 +0000 Subject: [PATCH] Accepting request 791979 from home:bnavigator:branches:devel:languages:python:numeric - let the updated scikit-build do the f2py detection OBS-URL: https://build.opensuse.org/request/show/791979 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-slycot?expand=0&rev=21 --- python-slycot.changes | 5 +++++ python-slycot.spec | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/python-slycot.changes b/python-slycot.changes index 6e3a6f1..2ed2550 100644 --- a/python-slycot.changes +++ b/python-slycot.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 7 12:16:37 UTC 2020 - Benjamin Greiner + +- let the updated scikit-build do the f2py detection + ------------------------------------------------------------------- Tue Apr 7 11:10:31 UTC 2020 - Benjamin Greiner diff --git a/python-slycot.spec b/python-slycot.spec index c3b4f75..46158d5 100644 --- a/python-slycot.spec +++ b/python-slycot.spec @@ -72,11 +72,7 @@ sed -i 's/LAPACK REQUIRED/LAPACK REQUIRED MODULE/' CMakeLists.txt %build export CFLAGS="%{optflags}" -%define python2_f2py /usr/bin/f2py%python2_bin_suffix -%define python3_f2py /usr/bin/f2py-%python3_bin_suffix -%{python_expand # make sure the correct f2py flavor is executed -%{$python_build} --generator "Unix Makefiles" -- -DF2PY_EXECUTABLE=%{$python_f2py} -} +%python_build --generator "Unix Makefiles" %install %python_expand %{$python_install} --install-lib %{$python_sitearch} --generator "Unix Makefiles"