diff --git a/bpftrace.spec b/bpftrace.spec index 26591d0..712a31c 100644 --- a/bpftrace.spec +++ b/bpftrace.spec @@ -25,7 +25,9 @@ BuildRequires: libbpf-devel BuildRequires: libbpf-static BuildRequires: binutils-devel BuildRequires: cereal-devel +%if ! 0%{?rhel} BuildRequires: libdwarf-devel +%endif BuildRequires: rubygem-asciidoctor