From 148a0e2e0ac6aa341428cc39d0e2c036a66c08a0 Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Tue, 10 May 2022 14:26:25 -0700 Subject: [PATCH] Clean up guile vs guile22 package names for RHEL. --- gdb.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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})