From 6da5b12afcc5cf8ed2202993775e24c6f075827b Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Tue, 26 Jan 2021 08:29:56 -0800 Subject: [PATCH] mini-bump, build minimal on rhel --- gdb.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb.spec b/gdb.spec index 6f6fb2a..5cde98e 100644 --- a/gdb.spec +++ b/gdb.spec @@ -21,8 +21,8 @@ %global _root_libdir %{_libdir} } -# If we're on Fedora, we will build the gdb-minimal package. -%if 0%{?fedora} +# If we're on Fedora or RHEL 9+, we will build the gdb-minimal package. +%if 0%{?fedora} || 0%{?rhel} > 8 %global _build_minimal 1 %endif @@ -37,7 +37,7 @@ Version: 10.1 # 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: 2%{?dist} +Release: 2.1%{?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.