public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: Fix s390x dependencies
Date: Sun, 28 Jun 2026 00:00:43 GMT	[thread overview]
Message-ID: <178260484344.1.1842648244175786008.rpms-gdb-fbba720a74b7@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/gdb
            Branch : gdb-17.2-rebase-f44
            Commit : fbba720a74b70e7023dbff2ccae244cc21c754e2
            Author : Keith Seitz <keiths@redhat.com>
            Date   : 2022-07-29T12:42:05-07:00
            Stats  : +3/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/fbba720a74b70e7023dbff2ccae244cc21c754e2?branch=gdb-17.2-rebase-f44

            Log:
            Fix s390x dependencies

Fedora doesn't build 32-bit s390x images.
There is no `fpc' package available for s390x, either.

---
diff --git a/gdb.spec b/gdb.spec
index 57fca98..22e38de 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -311,7 +311,7 @@ BuildRequires: boost-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
@@ -369,8 +369,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 arm+ppc64le+s390x do not yet have fpc built.
+%ifnarch %{arm} ppc64le s390x
 BuildRequires: fpc
 %endif
 %endif

                 reply	other threads:[~2026-06-28  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178260484344.1.1842648244175786008.rpms-gdb-fbba720a74b7@fedoraproject.org \
    --to=keiths@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox