Don't require gdb on RHEL9

Resolves: RHEL-54245
This commit is contained in:
Marek Polacek 2024-08-14 14:37:42 -04:00
parent 0e8c88e599
commit 18c4f2b908

View File

@ -8,7 +8,7 @@ BuildRequires: scl-utils-build
Summary: Package that installs %scl
Name: %scl_name
Version: 14.0
Release: 0%{?dist}
Release: 1%{?dist}
License: GPLv2+
Group: Applications/File
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -19,7 +19,9 @@ Source2: gts-annobin-plugin-select.sh
Requires: %{scl_prefix}runtime
Requires: %{scl_prefix}gcc %{scl_prefix}gcc-c++ %{scl_prefix}gcc-gfortran
Requires: %{scl_prefix}binutils
%if 0%{?rhel} <= 8
Requires: %{scl_prefix}gdb
%endif
Requires: %{scl_prefix}dwz
Requires: %{scl_prefix}annobin-plugin-gcc
Obsoletes: %{name} < %{version}-%{release}
@ -189,6 +191,9 @@ if [ $1 = 0 ]; then
fi
%changelog
* Wed Aug 14 2024 Marek Polacek <polacek@redhat.com> - 14.0-1
- don't require gdb on RHEL9 (RHEL-54245)
* Mon Apr 29 2024 Marek Polacek <polacek@redhat.com> - 14.0-0
- update to GTS 14 (RHEL-34748)