Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package llvm15 for openSUSE:Factory checked in at 2026-04-12 17:52:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm15 (Old) and /work/SRC/openSUSE:Factory/.llvm15.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm15" Sun Apr 12 17:52:54 2026 rev:22 rq:1346175 version:15.0.7 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm15/llvm15.changes 2025-08-25 20:38:25.444910324 +0200 +++ /work/SRC/openSUSE:Factory/.llvm15.new.21863/llvm15.changes 2026-04-12 17:53:02.604952678 +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: ------------------ ++++++ llvm15.spec ++++++ --- /var/tmp/diff_new_pack.zTTxHj/_old 2026-04-12 17:53:04.057011804 +0200 +++ /var/tmp/diff_new_pack.zTTxHj/_new 2026-04-12 17:53:04.061011968 +0200 @@ -1,7 +1,7 @@ # # spec file for package llvm15 # -# Copyright (c) 2025 SUSE LLC and contributors +# 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 @@ -724,6 +724,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. @@ -1529,16 +1530,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}
