diff --git a/openblas.changes b/openblas.changes index 841d622..957836a 100644 --- a/openblas.changes +++ b/openblas.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sun Jan 30 12:06:43 UTC 2022 - Egbert Eich + +- Partly revert: + Thu Jul 8 12:35:35 UTC 2021 - Dominique Leuenberger + + - Do not create dummy symlinks on $self in /etc/alternatives: those + files are packages as %ghost and any real file existance only + confuses brp-checks, as it detects circular symlinks. + for all suse_versions < current Factory in an attempt to fix bsc#1195232. + ------------------------------------------------------------------- Mon Jul 26 08:20:32 UTC 2021 - Andreas Schwab diff --git a/openblas.spec b/openblas.spec index fe72a0e..6b882a3 100644 --- a/openblas.spec +++ b/openblas.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package openblas # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -399,6 +399,12 @@ ln -s lib%{libname}.so.0 %{buildroot}/%{p_libdir}/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 ln -s lib%{pname}.so.0 %{buildroot}/%{p_libdir}/liblapack.so.3 +%if 0%{?suse_version} <= 1500 +ln -s lib%{pname}.so.0 %{buildroot}/%{_sysconfdir}/alternatives/lib%{pname}.so.0 +ln -s lib%{pname}.so.0 %{buildroot}/%{_sysconfdir}/alternatives/libblas.so.3 +ln -s lib%{pname}.so.0 %{buildroot}/%{_sysconfdir}/alternatives/libcblas.so.3 +ln -s lib%{pname}.so.0 %{buildroot}/%{_sysconfdir}/alternatives/liblapack.so.3 +%endif # Fix symlinks pushd %{buildroot}%{p_libdir}