Accepting request 856522 from home:dimstar:Factory
- Fix invalid symlinks (boo#1179764). OBS-URL: https://build.opensuse.org/request/show/856522 OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=113
This commit is contained in:
parent
f5773d946c
commit
462044765d
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 16 16:27:22 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Fix invalid symlinks (boo#1179764).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 24 16:27:35 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
|
@ -211,6 +211,12 @@ Obsoletes: lib%{pname}o0
|
||||
%hpc_requires
|
||||
%endif
|
||||
|
||||
%if %{without hpc}
|
||||
%define libname %name
|
||||
%else
|
||||
%define libname %pname
|
||||
%endif
|
||||
|
||||
%description -n lib%{name}%{?so_v}
|
||||
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
|
||||
|
||||
@ -370,7 +376,7 @@ rm -fr %{buildroot}%{p_libdir}/pkgconfig/
|
||||
|
||||
# Dummy target for update-alternatives
|
||||
install -d %{buildroot}/%{_sysconfdir}/alternatives
|
||||
ln -s lib%{pname}.so.0 %{buildroot}/%{p_libdir}/lib%{pname}.so.0
|
||||
ln -s lib%{libname}.so.0 %{buildroot}/%{p_libdir}/lib%{pname}.so.0
|
||||
ln -s lib%{pname}.so.0 %{buildroot}/%{_sysconfdir}/alternatives/lib%{pname}.so.0
|
||||
ln -s lib%{pname}.so.0 %{buildroot}/%{p_libdir}/libblas.so.3
|
||||
ln -s lib%{pname}.so.0 %{buildroot}/%{p_libdir}/libcblas.so.3
|
||||
@ -468,12 +474,6 @@ fi
|
||||
|
||||
%endif
|
||||
|
||||
%if %{without hpc}
|
||||
%define libname %name
|
||||
%else
|
||||
%define libname %pname
|
||||
%endif
|
||||
|
||||
%files -n lib%{name}%{?so_v}
|
||||
%defattr(-,root,root,-)
|
||||
%{p_libdir}/lib%{libname}.so.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user