[PATCH] spec: Fix dtrace BuildRequires on fedora 41+

Cole Robinson posted 1 patch 3 months ago
libvirt.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] spec: Fix dtrace BuildRequires on fedora 41+
Posted by Cole Robinson 3 months ago
/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

Signed-off-by: Cole Robinson <crobinso@redhat.com>
---
 libvirt.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 29101e74fe..86af13a861 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -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)
-- 
2.46.0
Re: [PATCH] spec: Fix dtrace BuildRequires on fedora 41+
Posted by Ján Tomko 2 months, 3 weeks ago
On a Tuesday in 2024, Cole Robinson wrote:
>/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
>
>Signed-off-by: Cole Robinson <crobinso@redhat.com>
>---
> libvirt.spec.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano