From 40b14bc6519fd9a501daea8ef5e5c42b3823d3db Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Feb 02 2021 06:11:35 +0000 Subject: import bpftrace-0.11.1-3.el8 --- diff --git a/SPECS/bpftrace.spec b/SPECS/bpftrace.spec index 9721aa9..05b3772 100644 --- a/SPECS/bpftrace.spec +++ b/SPECS/bpftrace.spec @@ -2,7 +2,7 @@ Name: bpftrace Version: 0.11.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: High-level tracing language for Linux eBPF License: ASL 2.0 @@ -28,6 +28,9 @@ BuildRequires: zlib-devel BuildRequires: llvm-devel BuildRequires: clang-devel BuildRequires: bcc-devel +BuildRequires: libbpf-devel +BuildRequires: libbpf-static +BuildRequires: binutils-devel %if %{with llvm_static} BuildRequires: llvm-static @@ -58,7 +61,8 @@ and predecessor tracers such as DTrace and SystemTap %cmake . \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DBUILD_TESTING:BOOL=OFF \ - -DBUILD_SHARED_LIBS:BOOL=OFF + -DBUILD_SHARED_LIBS:BOOL=OFF \ + -DLIBBCC_LIBRARIES:PATH=%{_libdir}/libbcc-no-libbpf.so %make_build @@ -99,6 +103,9 @@ find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \ %endif %changelog +* Thu Jan 28 2021 Jerome Marchand - 0.11.1-3 +- Add missing libbpf and binutils-dev dependencies + * Wed Nov 11 2020 Jerome Marchand - 0.11.1-2 - Fix statsnoop and opensnoop on aarch64 again