Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bcc for openSUSE:Factory checked in 
at 2026-08-20 16:14:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bcc (Old)
 and      /work/SRC/openSUSE:Factory/.bcc.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bcc"

Thu Aug 20 16:14:28 2026 rev:83 rq:1372021 version:0.37.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/bcc/bcc.changes  2026-08-19 18:02:20.284647889 
+0200
+++ /work/SRC/openSUSE:Factory/.bcc.new.1258/bcc.changes        2026-08-20 
16:15:02.646715803 +0200
@@ -1,0 +2,13 @@
+Wed Aug 19 14:39:12 UTC 2026 - Hoyeon Lee <[email protected]>
+
+- Refactor CMake-based build flow with %cmake/%cmake_{build,install}
+  - Preserve correct directory while building with %cmake
+
+-------------------------------------------------------------------
+Wed Aug 19 14:26:02 UTC 2026 - Hoyeon Lee <[email protected]>
+
+- Update multi-Python packaging for CMake
+  - Build all supported Python flavours through a cmake PYTHON_CMD list
+    generated at build time from %python_expand
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ bcc.spec ++++++
--- /var/tmp/diff_new_pack.NHQ40u/_old  2026-08-20 16:15:03.445744071 +0200
+++ /var/tmp/diff_new_pack.NHQ40u/_new  2026-08-20 16:15:03.448744177 +0200
@@ -170,12 +170,13 @@
 export LD_LIBRARY_PATH="%{_builddir}%{_libdir}"
 export PATH="%{_builddir}%{_bindir}":$PATH
 
-mkdir build
-pushd build
-# FIXME: you should use the %%cmake macros
-CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" cmake \
+python_cmds=
+%python_expand python_cmds+="$python;"
+
+pushd .
+%cmake \
        -DCMAKE_USE_LIBBPF_PACKAGE=yes \
-       -DPYTHON_CMD=python3 \
+       -DPYTHON_CMD="${python_cmds%;}" \
        -DREVISION=%{version} \
        -DCMAKE_INSTALL_PREFIX=%{_prefix} \
 %if 0%{?suse_version} > 1320
@@ -189,9 +190,8 @@
 %ifarch %{arm} || %{ix86}
        -DENABLE_USDT=OFF \
 %endif
-       -DENABLE_TESTS=OFF \
-       ..
-%make_build
+       -DENABLE_TESTS=OFF
+%cmake_build
 popd
 
 # Fix up #!-lines.
@@ -213,19 +213,13 @@
 %endif
 
 %install
-pushd build
-%make_install
+%cmake_install
 
 %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
 
-%python_expand test %{$python_sitelib} = %{python3_sitelib} || rm -rfv 
%{buildroot}%{$python_sitelib}/bcc*
-%python_expand test %{$python_sitelib} = %{python3_sitelib} || (install -d 
%{buildroot}%{$python_sitelib} && cp -av %{buildroot}%{python3_sitelib}/bcc* 
%{buildroot}%{$python_sitelib}/ && rm -rfv 
%{buildroot}%{$python_sitelib}/bcc/__pycache__)
-
-popd
-
 %if %{with_libbpf_tools}
 pushd libbpf-tools
 # package libbpf-tools with 'bpf-' prefix (iovisor/bcc#3263)

Reply via email to