Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bpftrace for openSUSE:Factory 
checked in at 2026-02-04 21:09:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bpftrace (Old)
 and      /work/SRC/openSUSE:Factory/.bpftrace.new.1670 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bpftrace"

Wed Feb  4 21:09:17 2026 rev:38 rq:1330935 version:0.24.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/bpftrace/bpftrace.changes        2025-12-31 
10:48:29.845110745 +0100
+++ /work/SRC/openSUSE:Factory/.bpftrace.new.1670/bpftrace.changes      
2026-02-04 21:09:40.445587565 +0100
@@ -1,0 +2,8 @@
+Wed Feb  4 10:33:54 UTC 2026 - Shung-Hsi Yu <[email protected]>
+
+- Refactor LLVM version detection macro
+  * simply use product_libs_llvm_ver, which is now also available in SLES since
+    15-SP7
+  * use LLVM 21 (current default) to build bpftrace (bsc#1257616)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bpftrace.spec ++++++
--- /var/tmp/diff_new_pack.vNAK3v/_old  2026-02-04 21:09:41.089614537 +0100
+++ /var/tmp/diff_new_pack.vNAK3v/_new  2026-02-04 21:09:41.093614704 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package bpftrace
 #
-# 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
@@ -16,36 +16,14 @@
 #
 
 
-# Use default LLVM unless it is not yet supported
-%if 0%{?suse_version} >= 1600
- %if 0%{?product_libs_llvm_ver} > 20
- %define llvm_major_version 20
- %else
- %define llvm_major_version %{nil}
- %endif
- %define cc_package clang%{llvm_major_version}
- %define cc_binary clang
- %define xx_binary clang++
-%else
- # Hard-code latest LLVM for SLES, the default version is too old
- %if 0%{?sle_version} == 150700
-  %define llvm_major_version 19
- %else
- %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
+%if 0%{?sle_version} == 150700
  %define cc_package gcc13-c++
  %define cc_binary gcc-13
  %define xx_binary g++-13
+%else
+ %define cc_package clang%{product_libs_llvm_ver}
+ %define cc_binary clang
+ %define xx_binary clang++
 %endif
 
 Name:           bpftrace
@@ -61,12 +39,12 @@
 BuildRequires:  binutils-devel
 # Required for -Wcounterexamples since gh#bpftrace/bpftrace#4124
 BuildRequires:  bison >= 3.7
-BuildRequires:  clang%{llvm_major_version}-devel
+BuildRequires:  clang%{product_libs_llvm_ver}-devel
 BuildRequires:  cmake
 BuildRequires:  flex
 BuildRequires:  libbpf-devel
 BuildRequires:  libxml2-devel
-BuildRequires:  llvm%{llvm_major_version}-devel
+BuildRequires:  llvm%{product_libs_llvm_ver}-devel
 BuildRequires:  pkgconfig
 BuildRequires:  readline-devel
 BuildRequires:  xxd

Reply via email to