From 6882f86cd4ed497e5ada8d7ecf6e746cdf033501 Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Wed, 28 Jul 2021 13:11:01 -0400 Subject: [PATCH] Remove dependency on gcc-gdb-plugin Resolves: rhbz#1980384 --- gdb.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb.spec b/gdb.spec index eadccb6..3f63d9b 100644 --- a/gdb.spec +++ b/gdb.spec @@ -37,7 +37,7 @@ Version: 10.2 # The release always contains a leading reserved number, start it at 1. # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing. -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL # Do not provide URL for snapshots as the file lasts there only for 2 days. @@ -59,7 +59,9 @@ URL: https://gnu.org/software/gdb/ # For DTS RHEL<=7 GDB it is better to use none than a Requires dependency. %if 0%{!?rhel:1} || 0%{?rhel} > 7 +%if 0%{!?el9:1} Recommends: %{?scl_prefix}gcc-gdb-plugin%{?_isa} +%endif Recommends: dnf-command(debuginfo-install) %endif @@ -292,8 +294,10 @@ BuildRequires: gcc gcc-c++ gcc-gfortran BuildRequires: gcc-objc %endif %if 0%{!?rhel:1} || 0%{?rhel} > 7 +%if 0%{!?el9:1} BuildRequires: gcc-gdb-plugin%{?_isa} %endif +%endif %if 0%{?rhel:1} && 0%{?rhel} < 7 BuildRequires: gcc-java libgcj%{bits_local} libgcj%{bits_other} # for gcc-java linkage: @@ -1154,6 +1158,9 @@ fi %endif %changelog +* Wed Jul 28 2021 Keith Seitz - 10.2-7.el9 +- Disable compile feature on RHEL9; remove gcc-gdb-plugin requirements. + * Mon Jun 28 2021 Keith Seitz - 10.2-6.el9 - Backport "PowerPC remove 512 bytes region limit if 2nd DAWR is available" (Rogerio Alves, RHBZ 1870029)