From b8b001a927817206e05a70481b6ada8451d6a361 Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Fri, 17 Jun 2022 09:05:17 -0700 Subject: [PATCH] Use system elfutils for all GTS releases (rhel8+). --- gdb.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb.spec b/gdb.spec index 7f992ed..361e1aa 100644 --- a/gdb.spec +++ b/gdb.spec @@ -286,12 +286,12 @@ BuildRequires: source-highlight-devel BuildRequires: xxhash-devel %endif -# Special case: on RHEL8, we simply require the system debuginfod. +# Special case: on RHEL8+, we simply require the system debuginfod. # Otherwise, we require the SCL version. Except on RHEL6, where debuginfod # is not supported at all. %global have_debuginfod 0 %global use_scl_for_debuginfod 0 -%if 0%{!?rhel:1} || 0%{?rhel} == 8 +%if 0%{!?rhel:1} || 0%{?rhel} >= 8 %global have_debuginfod 1 BuildRequires: elfutils-debuginfod-client-devel %else