diff --git a/gdb.spec b/gdb.spec index 7c7525d..36eb409 100644 --- a/gdb.spec +++ b/gdb.spec @@ -237,9 +237,13 @@ BuildRequires: texlive-collection-latexrecommended BuildRequires: /usr/bin/pod2man %if 0%{!?rhel:1} || 0%{?rhel} > 7 BuildRequires: libbabeltrace-devel%{buildisa} -%if 0%{?rhel} < 9 +%if 0%{!?rhel:1} BuildRequires: guile22-devel%{buildisa} %endif +# Guile is only supported prior to RHEL9, where it was called "guile". +%if 0%{?rhel:1} && 0%{?rhel} < 9 +BuildRequires: guile-devel%{buildisa} +%endif %endif %global have_libipt 0 %if 0%{!?rhel:1} || 0%{?rhel} > 7 || (0%{?rhel} == 7 && 0%{?scl:1})