diff --git a/gdb.spec b/gdb.spec index 7259777..ac80318 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: 4%{?dist} +Release: 5%{?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. @@ -1193,6 +1193,9 @@ fi %endif %changelog +* Tue Jan 26 2021 Stephen Gallagher - 10.1-5 +- Build gdb-minimal for ELN + * Tue Jan 26 2021 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild