Accepting request 950115 from home:eeich:branches:science_alt

- Partly revert:
    Thu Jul  8 12:35:35 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
    - 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.

OBS-URL: https://build.opensuse.org/request/show/950115
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=127
This commit is contained in:
Egbert Eich 2022-01-31 09:18:25 +00:00 committed by Git OBS Bridge
parent 69077f499f
commit 837ba61bd0
2 changed files with 19 additions and 2 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Jan 30 12:06:43 UTC 2022 - Egbert Eich <eich@suse.com>
- Partly revert:
Thu Jul 8 12:35:35 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <schwab@suse.de>

View File

@ -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}