From b1b5d16d6bfda80c73fac11010b26edd7e78bc4c5e67f85812e8cc7319e9c036 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Tue, 10 May 2022 21:05:51 +0000 Subject: [PATCH] Accepting request 975210 from home:badshah400:branches:science - Dynamically generate baselibs.conf for openblas flavors; this will fix the unresolvables down the chain for arpack-ng 32-bit bi-arch packages. OBS-URL: https://build.opensuse.org/request/show/975210 OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=142 --- openblas.changes | 7 +++++++ openblas.spec | 10 ++++++++++ 2 files changed, 17 insertions(+) diff --git a/openblas.changes b/openblas.changes index 8765943..374b374 100644 --- a/openblas.changes +++ b/openblas.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu May 5 11:56:20 UTC 2022 - Atri Bhattacharya + +- Dynamically generate baselibs.conf for openblas flavors; this + will fix the unresolvables down the chain for arpack-ng 32-bit + bi-arch packages. + ------------------------------------------------------------------- Fri Apr 29 16:36:57 UTC 2022 - Egbert Eich diff --git a/openblas.spec b/openblas.spec index 7f69ed3..89dd871 100644 --- a/openblas.spec +++ b/openblas.spec @@ -305,6 +305,16 @@ cp %{SOURCE1} . cp %{SOURCE2} . %endif +# create baselibs.conf based on flavor +cat > %{_sourcedir}/baselibs.conf < + requires "lib%{name}%{?so_v}- = " +EOF + %build # Limit lto jobs to 1 - -flto=auto together with make -j