public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sergio Durigan Junior <sergiodj@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: Sync gdb.spec with RHEL-8 GDB (thanks to Keith Seitz).
Date: Sat, 27 Jun 2026 23:59:45 GMT	[thread overview]
Message-ID: <178260478545.1.17216272642355885465.rpms-gdb-30a397d1b31c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 30a397d1b31c3a43907808c7d3cafe3918fc33f3
Author : Sergio Durigan Junior <sergiodj@redhat.com>
Date   : 2019-06-05T11:57:36-04:00
Stats  : +12/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/30a397d1b31c3a43907808c7d3cafe3918fc33f3?branch=gdb-17.2-rebase-f44

Log:
Sync gdb.spec with RHEL-8 GDB (thanks to Keith Seitz).

---
diff --git a/gdb.spec b/gdb.spec
index 795441d..6be9c13 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -261,7 +261,9 @@ BuildRequires: source-highlight-devel
 %global bits_local %{?_isa}
 %global bits_other %{?_isa}
 %ifarch s390x
+%if 0%{!?rhel:1} || 0%{?rhel} < 8
 %global bits_other (%{__isa_name}-32)
+%endif
 %else #!s390x
 %ifarch ppc
 %global bits_other (%{__isa_name}-64)
@@ -274,7 +276,10 @@ BuildRequires: source-highlight-devel
 
 BuildRequires: sharutils dejagnu
 # gcc-objc++ is not covered by the GDB testsuite.
-BuildRequires: gcc gcc-c++ gcc-gfortran gcc-objc
+BuildRequires: gcc gcc-c++ gcc-gfortran
+%if 0%{!?rhel:1} || 0%{?rhel} < 8
+BuildRequires: gcc-objc
+%endif
 %if 0%{!?rhel:1} || 0%{?rhel} > 7
 BuildRequires: gcc-gdb-plugin%{?_isa}
 %endif
@@ -285,12 +290,12 @@ BuildRequires: zlib-devel%{bits_local} zlib-devel%{bits_other}
 %endif
 # Exception for RHEL<=7
 %ifarch aarch64
-%if 0%{!?rhel:1} || 0%{?rhel} > 7
+%if 0%{!?rhel:1}
 BuildRequires: gcc-go
 BuildRequires: libgo-devel%{bits_local} libgo-devel%{bits_other}
 %endif
 %else
-%if 0%{!?rhel:1} || 0%{?rhel} > 6
+%if 0%{!?rhel:1} || 0%{?rhel} == 7
 BuildRequires: gcc-go
 BuildRequires: libgo-devel%{bits_local} libgo-devel%{bits_other}
 %endif
@@ -310,7 +315,7 @@ BuildRequires: prelink
 %if 0%{!?rhel:1} || 0%{?rhel} > 7
 BuildRequires: opencl-headers ocl-icd-devel%{bits_local} ocl-icd-devel%{bits_other}
 %endif
-%if 0%{!?rhel:1} || 0%{?rhel} > 7
+%if 0%{!?rhel:1}
 # Fedora arm+ppc64le do not yet have fpc built.
 %ifnarch %{arm} ppc64le
 BuildRequires: fpc
@@ -319,16 +324,18 @@ BuildRequires: fpc
 # Copied from: gcc-6.2.1-1.fc26
 # Exception for RHEL<=7
 %ifarch s390x
-%if 0%{!?rhel:1} || 0%{?rhel} > 7
+%if 0%{!?rhel:1}
 BuildRequires: gcc-gnat
 BuildRequires: libgnat%{bits_local} libgnat%{bits_other}
 %endif
 %else
 %ifarch %{ix86} x86_64 ia64 ppc %{power64} alpha s390x %{arm} aarch64
+%if 0%{!?rhel:1}
 BuildRequires: gcc-gnat
 BuildRequires: libgnat%{bits_local} libgnat%{bits_other}
 %endif
 %endif
+%endif
 BuildRequires: glibc-devel%{bits_local} glibc-devel%{bits_other}
 BuildRequires: libgcc%{bits_local} libgcc%{bits_other}
 BuildRequires: libgfortran%{bits_local} libgfortran%{bits_other}

                 reply	other threads:[~2026-06-27 23:59 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=178260478545.1.17216272642355885465.rpms-gdb-30a397d1b31c@fedoraproject.org \
    --to=sergiodj@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