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
This commit is contained in:
Atri Bhattacharya 2022-05-10 21:05:51 +00:00 committed by Git OBS Bridge
parent 0f3b37e518
commit b1b5d16d6b
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu May 5 11:56:20 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
- 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 <eich@suse.com>

View File

@ -305,6 +305,16 @@ cp %{SOURCE1} .
cp %{SOURCE2} .
%endif
# create baselibs.conf based on flavor
cat > %{_sourcedir}/baselibs.conf <<EOF
lib%{name}%{?so_v}
+%{p_libdir}/libopenblas.*\.so\.*
lib%{name}-devel
+%{p_libdir}/libopenblas\.so
requires -%{name}-<targettype>
requires "lib%{name}%{?so_v}-<targettype> = <version>"
EOF
%build
# Limit lto jobs to 1 - -flto=auto together with make -j<m>