public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Update gdb.spec for s390x cleanups/builddeps.
@ 2026-06-28  0:00 Keith Seitz
  0 siblings, 0 replies; only message in thread
From: Keith Seitz @ 2026-06-28  0:00 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 8751d74736af70f9f8a16f40aa4c2ce649ca467d
Author : Keith Seitz <keiths@redhat.com>
Date   : 2022-05-05T13:11:47-07:00
Stats  : +7/-9 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/8751d74736af70f9f8a16f40aa4c2ce649ca467d?branch=gdb-17.2-rebase-f44

Log:
Update gdb.spec for s390x cleanups/builddeps.

---
diff --git a/gdb.spec b/gdb.spec
index 3470e0a..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.
@@ -325,8 +323,8 @@ BuildRequires: prelink
 BuildRequires: opencl-headers ocl-icd-devel%{bits_local} ocl-icd-devel%{bits_other}
 %endif
 %if 0%{!?rhel:1}
-# Fedora arm+ppc64le do not yet have fpc built.
-%ifnarch %{arm} ppc64le
+# Fedora s390x does not have fpc.
+%ifnarch s390x
 BuildRequires: fpc
 %endif
 %endif

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-28  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-28  0:00 [rpms/gdb] gdb-17.2-rebase-f44: Update gdb.spec for s390x cleanups/builddeps Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox