public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Sync gdb.spec with RHEL-8 GDB (thanks to Keith Seitz).
@ 2026-06-27 23:59 Sergio Durigan Junior
0 siblings, 0 replies; only message in thread
From: Sergio Durigan Junior @ 2026-06-27 23:59 UTC (permalink / raw)
To: git-commits
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}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-27 23:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-27 23:59 [rpms/gdb] gdb-17.2-rebase-f44: Sync gdb.spec with RHEL-8 GDB (thanks to Keith Seitz) Sergio Durigan Junior
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox