Accepting request 905070 from home:dimstar:Factory
- 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. Addresses the detected build failure of Staging:N OBS-URL: https://build.opensuse.org/request/show/905070 OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=123
This commit is contained in:
parent
90b656eba1
commit
a380e4d6fc
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 18 12:22:57 UTC 2021 - Michel Normand <normand@linux.vnet.ibm.com>
|
||||
|
||||
|
@ -390,13 +390,9 @@ rm -fr %{buildroot}%{p_libdir}/pkgconfig/
|
||||
# Dummy target for update-alternatives
|
||||
install -d %{buildroot}/%{_sysconfdir}/alternatives
|
||||
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
|
||||
ln -s lib%{pname}.so.0 %{buildroot}/%{p_libdir}/liblapack.so.3
|
||||
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
|
||||
|
||||
# Fix symlinks
|
||||
pushd %{buildroot}%{p_libdir}
|
||||
|
Loading…
Reference in New Issue
Block a user