Disable -minimal RPM on RHEL9 GTS.

This patch disables the gdb-minimal package on GTS for RHEL9. Since
the -minimal package only exists to shrink the buildroot size and
we don't use GTS in the buildroot, there's no reason to build it.
This commit is contained in:
Keith Seitz 2022-06-28 12:52:52 -07:00
parent fbba720a74
commit a6e7b2b18f
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,8 @@ ExcludeArch: aarch64
}
# If we're on Fedora or RHEL 9+, we will build the gdb-minimal package.
%if 0%{?fedora} || 0%{?rhel} > 8
# Never build the -minimal package on SCLs, since it's unneeded there.
%if 0%{?fedora} || (0%{?rhel} > 8 && 0%{!?scl:1})
%global _build_minimal 1
%endif