Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package llvm21 for openSUSE:Factory checked 
in at 2026-04-13 23:18:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/llvm21 (Old)
 and      /work/SRC/openSUSE:Factory/.llvm21.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "llvm21"

Mon Apr 13 23:18:13 2026 rev:13 rq:1346171 version:21.1.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm21/llvm21.changes    2026-03-27 
06:43:41.611580103 +0100
+++ /work/SRC/openSUSE:Factory/.llvm21.new.21863/llvm21.changes 2026-04-13 
23:18:45.011785998 +0200
@@ -1,0 +2,5 @@
+Sat Apr 11 12:15:33 UTC 2026 - Aaron Puchert <[email protected]>
+
+- Drop ld.lld as an ld alternative (boo#1259813).
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ llvm21.spec ++++++
--- /var/tmp/diff_new_pack.xUHb27/_old  2026-04-13 23:18:47.503888760 +0200
+++ /var/tmp/diff_new_pack.xUHb27/_new  2026-04-13 23:18:47.507888925 +0200
@@ -786,6 +786,7 @@
 URL:            https://lld.llvm.org/
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
+OrderWithRequires(pre): update-alternatives
 
 %description -n lld%{_sonum}
 LLD is a linker from the LLVM project. That is a drop-in replacement for 
system linkers and runs much faster than them. It also provides features that 
are useful for toolchain developers.
@@ -1362,9 +1363,6 @@
 # Prepare for update-alternatives usage
 mkdir -p %{buildroot}%{_sysconfdir}/alternatives
 
-# For installing lld as ld alternative.
-ln -s %{_sysconfdir}/alternatives/ld %{buildroot}%{_bindir}/ld
-
 # Fix the clang -> clang-X symlink to work with update-alternatives
 mv %{buildroot}%{_bindir}/clang-%{_sonum} %{buildroot}%{_bindir}/clang
 
@@ -1610,16 +1608,17 @@
 %{ua_remove %clang_ua_anchor}
 
 %if %{with lld}
+%pre -n lld%{_sonum}
+if [ $1 -gt 1 ] && [ -f %{_sysconfdir}/alternatives/ld ] ; then
+    %{_sbindir}/update-alternatives --remove ld %{_bindir}/ld.lld
+fi
+
 %post -n lld%{_sonum}
 %{ua_install %lld_ua_anchor} \
     %{lapply -p ua_bin_slave %lld_binfiles}
-%{_sbindir}/update-alternatives --install %{_bindir}/ld ld %{_bindir}/ld.lld 1
 
 %postun -n lld%{_sonum}
 %{ua_remove %lld_ua_anchor}
-if [ ! -f %{_bindir}/lld ] ; then
-    %{_sbindir}/update-alternatives --remove ld %{_bindir}/ld.lld
-fi
 %endif
 
 %if %{with lldb}
@@ -1854,8 +1853,6 @@
 %if %{with lld}
 %files -n lld%{_sonum}
 %license CREDITS.TXT LICENSE.TXT
-%{_bindir}/ld
-%ghost %{_sysconfdir}/alternatives/ld
 %{lapply -p bin_path %lld_ua_anchor %lld_binfiles}
 %{lapply -p bin_sonum_path %lld_ua_anchor %lld_binfiles}
 %{lapply -p ghost_ua_bin_link %lld_ua_anchor %lld_binfiles}

Reply via email to