From b272d8e68868cd8493373ee521b577a284cda97289f83641ea5abf671c06db52 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 28 Nov 2016 00:09:07 +0000 Subject: [PATCH] - From time to time, configure fails to find lapack when built in openSUSE:Factory. Emit config.log when that happens. OBS-URL: https://build.opensuse.org/package/show/science/fflas-ffpack?expand=0&rev=21 --- fflas-ffpack.changes | 6 ++++++ fflas-ffpack.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/fflas-ffpack.changes b/fflas-ffpack.changes index faba9aa..4696cb3 100644 --- a/fflas-ffpack.changes +++ b/fflas-ffpack.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 28 00:07:45 UTC 2016 - jengelh@inai.de + +- From time to time, configure fails to find lapack when built in + openSUSE:Factory. Emit config.log when that happens. + ------------------------------------------------------------------- Thu Oct 20 18:34:24 UTC 2016 - jengelh@inai.de diff --git a/fflas-ffpack.spec b/fflas-ffpack.spec index 2470958..ab52842 100644 --- a/fflas-ffpack.spec +++ b/fflas-ffpack.spec @@ -81,10 +81,12 @@ sed '/HTML_TIMESTAMP/s/YES/NO/' -i doc/Doxyfile if [ ! -e configure ]; then autoreconf -fi fi +trap "cat config.log; exit 1" ERR %configure \ --with-blas-cflags=" " \ --with-blas-libs="-lcblas -lblas" \ --enable-doc --with-docdir="%_docdir/%name" +trap "" ERR make %{?_smp_mflags} %install