Accepting request 954096 from home:eeich:branches:science_alt

- Fixed bsc#1195232 for good: found and removed offending entry.
  This reintroduces part of:
  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.

OBS-URL: https://build.opensuse.org/request/show/954096
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=128
This commit is contained in:
Egbert Eich 2022-02-13 16:10:27 +00:00 committed by Git OBS Bridge
parent 837ba61bd0
commit d629833e18
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Feb 13 16:02:01 UTC 2022 - Egbert Eich <eich@suse.com>
- Fixed bsc#1195232 for good: found and removed offending entry.
This reintroduces part of:
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.
-------------------------------------------------------------------
Sun Jan 30 12:06:43 UTC 2022 - Egbert Eich <eich@suse.com>

View File

@ -399,12 +399,10 @@ 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}