Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bcc for openSUSE:Factory checked in at 2024-03-13 22:18:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bcc (Old) and /work/SRC/openSUSE:Factory/.bcc.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bcc" Wed Mar 13 22:18:11 2024 rev:59 rq:1157111 version:0.29.1 Changes: -------- --- /work/SRC/openSUSE:Factory/bcc/bcc.changes 2024-02-29 21:50:06.937457264 +0100 +++ /work/SRC/openSUSE:Factory/.bcc.new.1770/bcc.changes 2024-03-13 22:19:07.333473670 +0100 @@ -1,0 +2,5 @@ +Tue Mar 12 03:36:09 UTC 2024 - Shung-Hsi Yu <shung-hsi...@suse.com> + +- Update LLVM version macro to support SLE (bsc#1220746) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bcc.spec ++++++ --- /var/tmp/diff_new_pack.RVVOV7/_old 2024-03-13 22:19:09.093538552 +0100 +++ /var/tmp/diff_new_pack.RVVOV7/_new 2024-03-13 22:19:09.093538552 +0100 @@ -26,12 +26,26 @@ %{!?with_lua: %global with_lua 0} %endif -# Use the latest default LLVM version available, unless it is not yet -# supported by bcc. -%if 0%{?product_libs_llvm_ver} > 17 -%define llvm_major_version 17 -%else +# Use default LLVM on openSUSE unless it is not yet supported +%if 0%{?suse_version} >= 1600 || 0%{?is_opensuse} + %if 0%{?product_libs_llvm_ver} > 17 + %define llvm_major_version 17 + %else %define llvm_major_version %{nil} + %endif +%else + # Hard-code latest LLVM for SLES, the default version is too old + %if 0%{?sle_version} == 150600 + %define llvm_major_version 17 + %else + %if 0%{?sle_version} == 150500 + %define llvm_major_version 15 + %else + %if 0%{?sle_version} == 150400 + %define llvm_major_version 11 + %endif + %endif + %endif %endif Name: bcc