diff --git a/openblas.changes b/openblas.changes index 3317d8c..0e7eee1 100644 --- a/openblas.changes +++ b/openblas.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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. + ------------------------------------------------------------------- Thu Mar 18 12:22:57 UTC 2021 - Michel Normand diff --git a/openblas.spec b/openblas.spec index 6957731..47a077d 100644 --- a/openblas.spec +++ b/openblas.spec @@ -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}