Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package llvm19 for openSUSE:Factory checked in at 2026-04-12 17:52:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm19 (Old) and /work/SRC/openSUSE:Factory/.llvm19.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm19" Sun Apr 12 17:52:40 2026 rev:16 rq:1346173 version:19.1.7 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm19/llvm19.changes 2026-03-20 21:21:37.702050272 +0100 +++ /work/SRC/openSUSE:Factory/.llvm19.new.21863/llvm19.changes 2026-04-12 17:52:52.516541883 +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: ------------------ ++++++ llvm19.spec ++++++ --- /var/tmp/diff_new_pack.McgQkf/_old 2026-04-12 17:52:54.180609643 +0200 +++ /var/tmp/diff_new_pack.McgQkf/_new 2026-04-12 17:52:54.184609805 +0200 @@ -777,6 +777,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. @@ -1336,9 +1337,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 @@ -1592,16 +1590,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} @@ -1837,8 +1836,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}
