diff --git a/bpftrace.spec b/bpftrace.spec index 959d15037012e01262cad6330a104c404493e055..2a2b3134520662d8e50082e5bbad3cb55799011d 100644 --- a/bpftrace.spec +++ b/bpftrace.spec @@ -1,6 +1,6 @@ Name: bpftrace Version: 0.19.1 -Release: 2 +Release: 3 Summary: High-level tracing language for Linux eBPF License: ASL 2.0 @@ -40,13 +40,13 @@ and predecessor tracers such as DTrace and SystemTap. -DBUILD_SHARED_LIBS:BOOL=OFF \ -DENABLE_LLVM_SHARED=1 \ -DUSE_SYSTEM_BPF_BCC:BOOL=ON -%make_build +%cmake_build %install %global __os_install_post %{nil} %global _find_debuginfo_opts -g -%make_install +%cmake_install find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \ sed -i -e '1s=^#!/usr/bin/env %{name}\([0-9.]\+\)\?$=#!%{_bindir}/%{name}=' {} \; @@ -68,6 +68,9 @@ find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \ %changelog +* Wed Oct 30 2024 xuezhixin - 0.19.1-3 +- use the new cmake macros + * Tue Feb 27 2024 Huang Yang - 0.19.1-2 - add loongarch64 support