Clean up guile vs guile22 package names for RHEL.

This commit is contained in:
Keith Seitz 2022-05-10 14:26:25 -07:00
parent 8751d74736
commit 148a0e2e0a

View File

@ -237,9 +237,13 @@ BuildRequires: texlive-collection-latexrecommended
BuildRequires: /usr/bin/pod2man BuildRequires: /usr/bin/pod2man
%if 0%{!?rhel:1} || 0%{?rhel} > 7 %if 0%{!?rhel:1} || 0%{?rhel} > 7
BuildRequires: libbabeltrace-devel%{buildisa} BuildRequires: libbabeltrace-devel%{buildisa}
%if 0%{?rhel} < 9 %if 0%{!?rhel:1}
BuildRequires: guile22-devel%{buildisa} BuildRequires: guile22-devel%{buildisa}
%endif %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 %endif
%global have_libipt 0 %global have_libipt 0
%if 0%{!?rhel:1} || 0%{?rhel} > 7 || (0%{?rhel} == 7 && 0%{?scl:1}) %if 0%{!?rhel:1} || 0%{?rhel} > 7 || (0%{?rhel} == 7 && 0%{?scl:1})