Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bcc for openSUSE:Factory checked in at 2023-01-11 14:35:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bcc (Old) and /work/SRC/openSUSE:Factory/.bcc.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bcc" Wed Jan 11 14:35:50 2023 rev:52 rq:1057723 version:0.26.0 Changes: -------- --- /work/SRC/openSUSE:Factory/bcc/bcc.changes 2023-01-06 17:07:02.184680307 +0100 +++ /work/SRC/openSUSE:Factory/.bcc.new.32243/bcc.changes 2023-01-11 14:37:18.077992964 +0100 @@ -1,0 +2,6 @@ +Wed Jan 11 07:07:28 UTC 2023 - Shung-Hsi Yu <[email protected]> + +- Force specific versioning of LLVM in preparation of Leap 15.5/SLES 15-SP5 + + Remove now duplicate dependency llvm-clang-devel, having clang-devel is enough + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bcc.spec ++++++ --- /var/tmp/diff_new_pack.QJKmbj/_old 2023-01-11 14:37:18.477995225 +0100 +++ /var/tmp/diff_new_pack.QJKmbj/_new 2023-01-11 14:37:18.481995247 +0100 @@ -26,6 +26,14 @@ %{!?with_lua: %global with_lua 0} %endif +# Use the latest supported LLVM version, but Leap < 15.5 only has a slightly +# older one so just use whatever version is available. +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 +%define llvm_major_version 15 +%else +%define llvm_major_version %{nil} +%endif + Name: bcc Version: 0.26.0 Release: 0 @@ -41,11 +49,10 @@ BuildRequires: gcc-c++ BuildRequires: libbpf-devel BuildRequires: libelf-devel -BuildRequires: llvm-clang-devel >= 3.7.0 -BuildRequires: llvm-devel >= 3.7.0 +BuildRequires: llvm%{llvm_major_version}-devel %if 0%{?suse_version} > 1320 -BuildRequires: clang-devel -BuildRequires: llvm-gold +BuildRequires: clang%{llvm_major_version}-devel +BuildRequires: llvm%{llvm_major_version}-gold %else BuildRequires: libstdc++-devel %endif @@ -186,7 +193,7 @@ pushd build %make_install -%if 0%{?suse_version} <= 1500 +%if 0%{?suse_version} <= 1500 && 0%{?sle_version} < 150500 # Remove bps due to the incomplete support in kernel (bsc#1085403) rm -f %{buildroot}/%{_bindir}/bps %endif @@ -231,7 +238,7 @@ %{_datadir}/bcc/tools/* %dir %{_datadir}/bcc/man/ %{_datadir}/bcc/man/* -%if 0%{?suse_version} > 1500 +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 %{_bindir}/bps %endif
