From 8c2ae5df67ba87fbbc6da8a968be1f86ccc7de66 Mon Sep 17 00:00:00 2001 From: xuezhixin Date: Wed, 30 Oct 2024 15:48:04 +0800 Subject: [PATCH] use the new cmake macros --- bcc.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/bcc.spec b/bcc.spec index c9396d6..4ce5383 100644 --- a/bcc.spec +++ b/bcc.spec @@ -2,7 +2,7 @@ Name: bcc Version: 0.29.1 -Release: 1 +Release: 3 Summary: BPF Compiler Collection (BCC) License: ASL 2.0 URL: https://github.com/iovisor/bcc @@ -85,17 +85,17 @@ Command line tools for BPF Compiler Collection (BCC) %autosetup -n %{name} -p1 %build -%cmake . \ +%cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DREVISION_LAST=%{version} -DREVISION=%{version} -DPYTHON_CMD=python3 \ -DCMAKE_USE_LIBBPF_PACKAGE:BOOL=FALSE \ %{?with_llvm_shared:-DENABLE_LLVM_SHARED=1} -%make_build +%cmake_build %install -%make_install +%cmake_install # Fix python shebangs find %{buildroot}%{_datadir}/%{name}/{tools,examples} -type f -exec \ @@ -163,6 +163,12 @@ rm -rf %{buildroot}%{_datadir}/%{name}/tools/old/ %changelog +* Wed Oct 30 2024 xuezhixin - 0.29.1-3 +- use the new cmake macros + +* Mon Mar 18 2024 woody2918 - 0.29.1-2 +- Fix CVE-2024-2314 + * Mon Feb 19 2024 liweigang - 0.29.1-1 - update to version 0.29.1 -- Gitee