Remove dependency on gcc-gdb-plugin

Resolves: rhbz#1980384
This commit is contained in:
Keith Seitz 2021-07-28 13:11:01 -04:00
parent 4748efc8fa
commit 6882f86cd4
1 changed files with 8 additions and 1 deletions

View File

@ -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 <keiths@redhat.com> - 10.2-7.el9
- Disable compile feature on RHEL9; remove gcc-gdb-plugin requirements.
* Mon Jun 28 2021 Keith Seitz <keiths@redhat.com> - 10.2-6.el9
- Backport "PowerPC remove 512 bytes region limit if 2nd DAWR is available"
(Rogerio Alves, RHBZ 1870029)