Dominique Leuenberger 2022-05-12 20:57:55 +00:00 committed by Git OBS Bridge
commit 89bff6ab98
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>