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:
parent
0f3b37e518
commit
b1b5d16d6b
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user