From fec45fd60bad8826219e981221fd987a91bf220f Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Thu, 5 May 2022 10:38:08 -0700 Subject: [PATCH] Cleanup --with testsuite dependencies for Fedora s390x. 32bit no longer supported. --- gdb.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/gdb.spec b/gdb.spec index 735a642..7c7525d 100644 --- a/gdb.spec +++ b/gdb.spec @@ -270,18 +270,16 @@ BuildRequires: elfutils-debuginfod-client-devel %global bits_local %{?_isa} %global bits_other %{?_isa} %ifarch s390x -%if 0%{!?rhel:1} || 0%{?rhel} < 8 +%if 0%{?rhel:1} && 0%{?rhel} < 8 %global bits_other (%{__isa_name}-32) %endif -%else #!s390x +%endif %ifarch ppc %global bits_other (%{__isa_name}-64) -%else #!ppc -%ifarch sparc64 ppc64 s390x x86_64 +%endif +%ifarch sparc64 ppc64 x86_64 %global bits_other (%{__isa_name}-32) -%endif #sparc64 ppc64 s390x x86_64 -%endif #!ppc -%endif #!s390x +%endif BuildRequires: sharutils dejagnu # gcc-objc++ is not covered by the GDB testsuite.