Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package llvm18 for openSUSE:Factory checked in at 2026-04-12 17:52:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm18 (Old) and /work/SRC/openSUSE:Factory/.llvm18.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm18" Sun Apr 12 17:52:47 2026 rev:16 rq:1346174 version:18.1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm18/llvm18.changes 2025-08-08 15:08:55.628761848 +0200 +++ /work/SRC/openSUSE:Factory/.llvm18.new.21863/llvm18.changes 2026-04-12 17:52:54.688630329 +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: ------------------ ++++++ llvm18.spec ++++++ --- /var/tmp/diff_new_pack.Hajun8/_old 2026-04-12 17:53:01.604911956 +0200 +++ /var/tmp/diff_new_pack.Hajun8/_new 2026-04-12 17:53:01.616912445 +0200 @@ -1,7 +1,7 @@ # # spec file for package llvm18 # -# 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 @@ -765,6 +765,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. @@ -1333,9 +1334,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 @@ -1584,16 +1582,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} @@ -1842,8 +1841,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}
