]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: Fix dtrace BuildRequires on fedora 41+
authorCole Robinson <crobinso@redhat.com>
Tue, 27 Aug 2024 18:15:45 +0000 (14:15 -0400)
committerCole Robinson <crobinso@redhat.com>
Wed, 4 Sep 2024 15:37:38 +0000 (11:37 -0400)
/usr/bin/dtrace has been split from `systemtap-sdt-devel` into
`systemtap-sdt-dtrace`

It's forward and backward compatible to require the dtrace binary
directly.

We still need the latter dep though, for sdt.h in generated
libvirt_probes.h

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
libvirt.spec.in

index 29101e74fee32fd1c02f1fecae8767c3ddb8ed67..86af13a86139cbe9bd54536b493b00b22b5ab227 100644 (file)
@@ -425,8 +425,8 @@ BuildRequires: libcurl-devel
 BuildRequires: libwsman-devel >= 2.6.3
     %endif
 BuildRequires: audit-libs-devel
-# we need /usr/sbin/dtrace
 BuildRequires: systemtap-sdt-devel
+BuildRequires: /usr/bin/dtrace
 # For mount/umount in FS driver
 BuildRequires: util-linux
 # For showmount in FS driver (netfs discovery)