public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Disable -minimal RPM on RHEL9 GTS.
@ 2026-06-28  0:00 Keith Seitz
  0 siblings, 0 replies; only message in thread
From: Keith Seitz @ 2026-06-28  0:00 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gdb
            Branch : gdb-17.2-rebase-f44
            Commit : a6e7b2b18f7881f593c911a933000c04576b9e20
            Author : Keith Seitz <keiths@redhat.com>
            Date   : 2022-07-29T13:39:24-07:00
            Stats  : +2/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/a6e7b2b18f7881f593c911a933000c04576b9e20?branch=gdb-17.2-rebase-f44

            Log:
            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.

---
diff --git a/gdb.spec b/gdb.spec
index 22e38de..22109df 100644
--- a/gdb.spec
+++ b/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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-28  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-28  0:00 [rpms/gdb] gdb-17.2-rebase-f44: Disable -minimal RPM on RHEL9 GTS Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox