From 696e6836dc6a62cef4fe0a4e1b88ce0e6f0abb4e Mon Sep 17 00:00:00 2001 From: Jarek Prokop Date: Tue, 15 Apr 2025 17:09:51 +0200 Subject: [PATCH] Work around underspecified dependencies for systemtap. Despite pulling what we'd expect to need, there is a missing dependency in systemtap, where pulling in %%{_bindir}/dtrace does not pull in also the python3-pyparsing package that is required for full functionality. Workaround: RHEL-86248 Related: RHEL-87342 --- ruby.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ruby.spec b/ruby.spec index 19f30b2..12e138e 100644 --- a/ruby.spec +++ b/ruby.spec @@ -303,6 +303,11 @@ BuildRequires: zlib-devel %{?with_gmp:BuildRequires: gmp-devel} %{?with_systemtap:BuildRequires: %{_bindir}/dtrace} %{?with_systemtap:BuildRequires: systemtap-sdt-devel} +# Despite pulling what we'd expect to need, there is a missing dependency +# in systemtap, where pulling in %%{_bindir}/dtrace does not pull in also +# the python3-pyparsing package that is required for full functionality. +# Workaround: RHEL-86248 +%{?with_systemtap:BuildRequires: python3-pyparsing} %{?with_yjit:BuildRequires: %{_bindir}/rustc} # Install section