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:
parent
fbba720a74
commit
a6e7b2b18f
3
gdb.spec
3
gdb.spec
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user