Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package llvm20 for openSUSE:Factory checked 
in at 2026-04-12 17:52:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/llvm20 (Old)
 and      /work/SRC/openSUSE:Factory/.llvm20.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "llvm20"

Sun Apr 12 17:52:39 2026 rev:12 rq:1346172 version:20.1.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm20/llvm20.changes    2025-08-03 
13:36:32.549290423 +0200
+++ /work/SRC/openSUSE:Factory/.llvm20.new.21863/llvm20.changes 2026-04-12 
17:52:49.500419067 +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:
------------------
++++++ llvm20.spec ++++++
--- /var/tmp/diff_new_pack.f3ZdJO/_old  2026-04-12 17:52:51.396496275 +0200
+++ /var/tmp/diff_new_pack.f3ZdJO/_new  2026-04-12 17:52:51.400496438 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package llvm20
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -770,6 +770,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.
@@ -1322,9 +1323,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
 
@@ -1578,16 +1576,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}
@@ -1823,8 +1822,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