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
This commit is contained in:
Jarek Prokop 2025-04-15 17:09:51 +02:00
parent cba38803ee
commit 696e6836dc

View File

@ -303,6 +303,11 @@ BuildRequires: zlib-devel
%{?with_gmp:BuildRequires: gmp-devel} %{?with_gmp:BuildRequires: gmp-devel}
%{?with_systemtap:BuildRequires: %{_bindir}/dtrace} %{?with_systemtap:BuildRequires: %{_bindir}/dtrace}
%{?with_systemtap:BuildRequires: systemtap-sdt-devel} %{?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} %{?with_yjit:BuildRequires: %{_bindir}/rustc}
# Install section # Install section