From 2e1b97948f34cb7abc5d9aac6f70a763f288c5efd96bee3777442e010fb6e7c1 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Thu, 9 Feb 2023 11:17:16 +0000 Subject: [PATCH] Accepting request 1063990 from home:eeich:branches:science - Remove unneeded links. These will be taken care of by the update-alternatives. This will bring this package in sync with openblas. OBS-URL: https://build.opensuse.org/request/show/1063990 OBS-URL: https://build.opensuse.org/package/show/science/lapack?expand=0&rev=32 --- lapack.changes | 7 +++++++ lapack.spec | 8 -------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/lapack.changes b/lapack.changes index 3118ea7..268667c 100644 --- a/lapack.changes +++ b/lapack.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Feb 5 19:59:26 UTC 2023 - Egbert Eich + +- Remove unneeded links. These will be taken care of by the + update-alternatives. This will bring this package in sync + with openblas. + ------------------------------------------------------------------- Thu Feb 2 13:16:02 UTC 2023 - Richard Biener diff --git a/lapack.spec b/lapack.spec index 968c860..1839799 100644 --- a/lapack.spec +++ b/lapack.spec @@ -291,24 +291,18 @@ install -m 644 libblas.a %{buildroot}/%{_libdir} install -m 755 libblas.so.%{version} %{buildroot}/%{_libdir}/blas ln -s libblas.so.%{version} %{buildroot}/%{_libdir}/blas/libblas.so.3 ln -s blas/libblas.so.%{version} %{buildroot}/%{_libdir}/libblas.so -# dummy target for update-alternatives -ln -s %{_sysconfdir}/alternatives/libblas.so.3_%{_arch} %{buildroot}/%{_libdir}/libblas.so.3 ## CBLAS install -m 644 CBLAS/include/*.h %{buildroot}/%{_includedir} install -m 644 libcblas.a %{buildroot}/%{_libdir} install -m 755 libcblas.so.%{version} %{buildroot}/%{_libdir}/blas ln -s libcblas.so.%{version} %{buildroot}/%{_libdir}/blas/libcblas.so.3 ln -s blas/libcblas.so.%{version} %{buildroot}/%{_libdir}/libcblas.so -# dummy target for update-alternatives -ln -s %{_sysconfdir}/alternatives/libcblas.so.3_%{arch} %{buildroot}/%{_libdir}/libcblas.so.3 ## LAPACK install -d %{buildroot}/%{_libdir}/lapack install -m 644 liblapack.a %{buildroot}/%{_libdir} install -m 755 liblapack.so.%{version} %{buildroot}/%{_libdir}/lapack ln -s liblapack.so.%{version} %{buildroot}/%{_libdir}/lapack/liblapack.so.3 ln -s lapack/liblapack.so.%{version} %{buildroot}/%{_libdir}/liblapack.so -# dummy target for update-alternatives -ln -s %{_sysconfdir}/alternatives/liblapack.so.3_%{_arch} %{buildroot}/%{_libdir}/liblapack.so.3 ## LAPACKE cd LAPACKE install -m 644 include/*.h %{buildroot}/%{_includedir} @@ -316,8 +310,6 @@ install -m 644 ../liblapacke.a %{buildroot}/%{_libdir} install -m 755 liblapacke.so.%{version} %{buildroot}/%{_libdir}/lapack ln -s liblapacke.so.%{version} %{buildroot}/%{_libdir}/lapack/liblapacke.so.3 ln -s lapack/liblapacke.so.%{version} %{buildroot}/%{_libdir}/liblapacke.so -# dummy target for update-alternatives -ln -s %{_sysconfdir}/alternatives/liblapacke.so.3_%{_arch} %{buildroot}/%{_libdir}/liblapacke.so.3 cd .. %post -n libblas3