Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2026-06-16 13:45:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new.1981 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm" Tue Jun 16 13:45:53 2026 rev:155 rq:1359240 version:22 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm/llvm.changes 2026-04-29 19:17:47.176941003 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new.1981/llvm.changes 2026-06-16 13:46:17.823371958 +0200 @@ -1,0 +2,20 @@ +Sun Jun 14 12:31:57 UTC 2026 - Aaron Puchert <[email protected]> + +- Also have clang-devel require llvm-devel. + +------------------------------------------------------------------- +Fri Jun 12 11:36:58 UTC 2026 - Dominique Leuenberger <[email protected]> + +- Have clang-devel require clang to ensure the chains are correct + (so consumers of clang-devel get /usr/bin/clang installed). Same + for llvm-devel, lldb-devel. + +------------------------------------------------------------------- +Sun Jun 7 21:54:54 UTC 2026 - Aaron Puchert <[email protected]> + +- Provide unversioned symbolic links to binaries and man pages for + llvm, clang, lld, and lldb, since they're no longer provided by + update-alternatives. +- Clean up obsoletes for LLVM versions < 13. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llvm.spec ++++++ --- /var/tmp/diff_new_pack.E48XhQ/_old 2026-06-16 13:46:18.655406690 +0200 +++ /var/tmp/diff_new_pack.E48XhQ/_new 2026-06-16 13:46:18.655406690 +0200 @@ -36,9 +36,6 @@ # obsolete_llvm_versioned() prefix postfix # Obsolete packages <prefix>X or <prefix>X-<postfix> with X being a set of older versions. %define obsolete_llvm_versioned() \ -Obsoletes: %{1}10%{?2:-%{2}} \ -Obsoletes: %{1}11%{?2:-%{2}} \ -Obsoletes: %{1}12%{?2:-%{2}} \ Obsoletes: %{1}13%{?2:-%{2}} \ Obsoletes: %{1}14%{?2:-%{2}} \ Obsoletes: %{1}15%{?2:-%{2}} \ @@ -47,10 +44,19 @@ Obsoletes: %{1}18%{?2:-%{2}} \ Obsoletes: %{1}19%{?2:-%{2}} \ Obsoletes: %{1}20%{?2:-%{2}} \ -Obsoletes: %{1}21%{?2:-%{2}} \ -Obsoletes: %{1}7%{?2:-%{2}} \ -Obsoletes: %{1}8%{?2:-%{2}} \ -Obsoletes: %{1}9%{?2:-%{2}} +Obsoletes: %{1}21%{?2:-%{2}} + +%define conflicts_update_alternatives() \ +Conflicts: (%{1}13 unless %{1}13-update-alternatives-removed) \ +Conflicts: (%{1}14 unless %{1}14-update-alternatives-removed) \ +Conflicts: (%{1}15 unless %{1}15-update-alternatives-removed) \ +Conflicts: (%{1}16 unless %{1}16-update-alternatives-removed) \ +Conflicts: (%{1}17 unless %{1}17-update-alternatives-removed) \ +Conflicts: (%{1}18 unless %{1}18-update-alternatives-removed) \ +Conflicts: (%{1}19 unless %{1}19-update-alternatives-removed) \ +Conflicts: (%{1}20 unless %{1}20-update-alternatives-removed) \ +Conflicts: (%{1}21 unless %{1}21-update-alternatives-removed) \ +Conflicts: (%{1}22 unless %{1}22-update-alternatives-removed) Name: llvm Version: %{_sonum} @@ -61,7 +67,9 @@ URL: https://www.llvm.org/ # This file documents the process for updating llvm Source0: README.packaging +BuildRequires: llvm%{_sonum} Requires: llvm%{_sonum} +%conflicts_update_alternatives llvm Suggests: %{name}-doc %description @@ -79,6 +87,7 @@ %package devel Summary: Header Files for LLVM Group: Development/Libraries/C and C++ +Requires: llvm = %{version} Requires: llvm%{_sonum}-devel Provides: llvm-LTO-devel = %{version} Obsoletes: llvm-LTO-devel < %{version} @@ -116,10 +125,12 @@ Summary: CLANG frontend for LLVM Group: Development/Languages/C and C++ URL: https://clang.llvm.org/ +BuildRequires: clang%{_sonum} Requires: clang%{_sonum} Provides: llvm-clang = %{version} Obsoletes: llvm-clang < %{version} Provides: llvm-emacs-plugins +%conflicts_update_alternatives clang Suggests: clang-doc %description -n clang @@ -132,7 +143,9 @@ %package -n clang-devel Summary: CLANG frontend for LLVM (devel package) Group: Development/Libraries/C and C++ +Requires: clang = %{version} Requires: clang%{_sonum}-devel +Requires: llvm-devel = %{version} Provides: llvm-clang-devel = %{version} Obsoletes: llvm-clang-devel < %{version} Provides: clang-devel-static = %{version} @@ -209,10 +222,14 @@ Summary: Software debugger built using LLVM libraries Group: Development/Tools/Debuggers URL: https://lldb.llvm.org/ +%if 0%{?has_lldb} +BuildRequires: lldb%{_sonum} +%endif Requires: lldb%{_sonum} %if 0%{?has_lldb_python} Recommends: python3-lldb %endif +%conflicts_update_alternatives lldb %description -n lldb LLDB is a next generation, high-performance debugger. It is built as a set @@ -227,6 +244,7 @@ %package -n lldb-devel Summary: Development files for LLDB Group: Development/Libraries/C and C++ +Requires: lldb = %{version} Requires: lldb%{_sonum}-devel %obsolete_llvm_versioned lldb devel @@ -265,7 +283,9 @@ Summary: Linker for Clang/LLVM Group: Development/Tools/Building URL: https://lld.llvm.org/ +BuildRequires: lld%{_sonum} Requires: lld%{_sonum} +%conflicts_update_alternatives lld %description -n lld LLD is a linker from the LLVM project. That is a drop-in replacement for @@ -340,13 +360,20 @@ echo "This is a dummy package to provide a dependency on the system compiler." > README %install -# Not needed +mkdir -p %{buildroot}{%{_bindir},%{_mandir}/man1} +for pkg in llvm clang lld %{?has_lldb:lldb} +do + for file in $(rpm -ql ${pkg}%{_sonum} | grep -e '^%{_bindir}/' -e '^%{_mandir}/man1/') + do + link=${file//-%{_sonum}} + ln -s $(basename $file) %{buildroot}$link + echo $link >> ${pkg}.lst + done +done -%files -%doc README +%files -f llvm.lst -%files -n clang -%doc README +%files -n clang -f clang.lst %files gold %doc README @@ -370,8 +397,7 @@ %doc README %if 0%{?has_lldb} -%files -n lldb -%doc README +%files -n lldb -f lldb.lst %files -n lldb-devel %doc README @@ -385,8 +411,7 @@ %doc README %endif -%files -n lld -%doc README +%files -n lld -f lld.lst %if 0%{?has_openmp} %files -n libomp-devel ++++++ README.packaging ++++++ --- /var/tmp/diff_new_pack.E48XhQ/_old 2026-06-16 13:46:18.711409028 +0200 +++ /var/tmp/diff_new_pack.E48XhQ/_new 2026-06-16 13:46:18.715409194 +0200 @@ -51,11 +51,9 @@ new sources. 4. Update the version number in the patches to match the new sources. - 5. Update the "_uaver" tag in llvmX.spec to match - the "_relver" tag. - 6. Confirm everything builds successfully and there are + 5. Confirm everything builds successfully and there are no new rpmlint issues. - 7. Update the llvmX.changes file. + 6. Update the llvmX.changes file. ===================== @@ -87,21 +85,19 @@ 7. Change the "_minor" tag in llvmX.spec to match the new major/minor versions. It should be of the form "X.0". - 8. Change the "_uaver" tag in llvmX.spec to match the - new major/minor versions. It should be of the form "X0Z". - 9. Update the "_relver" tag and the version numbers in + 8. Update the "_relver" tag and the version numbers in the patches as described in PATCH-LEVEL UPDATES above. - 10. Confirm llvmX.spec builds successfully and there are + 9. Confirm llvmX.spec builds successfully and there are no new rpmlint issues. - 11. Check whether the .so numbers of "libc++.so.W.V" or + 10. Check whether the .so numbers of "libc++.so.W.V" or "libclang.so.X" have changed. If so, change the "_socxx" or "_soclang" tag to match. It should be of the form "W" if the "V" value is 0 or "W_V" if the "V" value is greater than 0. - 12. Confirm everything builds successfully and there are + 11. Confirm everything builds successfully and there are no new rpmlint issues. Some patches may need to be removed or rebased. - 13. Update the llvmX.changes file. + 12. Update the llvmX.changes file. 2. llvm package: 1. Change the "_sonum" tag to match the one in the new "llvmX.spec" file.
