From 3b9bfae3676327b8a5c1de52f984702220ca8d02 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 14 Feb 2024 14:09:45 +0100 Subject: [PATCH] Correct advise for disabling debuginfo packages (#2264161) --- buildflags.md | 4 +++- redhat-rpm-config.spec | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/buildflags.md b/buildflags.md index 0fee80c..51c3b14 100644 --- a/buildflags.md +++ b/buildflags.md @@ -395,7 +395,9 @@ compiler defaults. By default, DWARF debugging information is separated from installed ELF objects and put into `-debuginfo` subpackages. To disable most debuginfo processing (and thus the generation of these subpackages), -define `_enable_debug_packages` as `0`. +undefine `_enable_debug_packages`: + + %undefine _enable_debug_packages Processing of debugging information is controlled using the `find-debuginfo` tool from the `debugedit` package. Several aspects diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index dd12d7e..429aa05 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -4,7 +4,7 @@ # 2) When making changes, increment the version (in baserelease) by 1. # rpmdev-bumpspec and other tools update the macro below, which is used # in Version: to get the desired effect. -%global baserelease 283 +%global baserelease 284 Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config @@ -261,6 +261,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora common.lua %doc buildflags.md %changelog +* Wed Feb 14 2024 Florian Weimer - 284-1 +- Correct advise for disabling debuginfo packages (#2264161) + * Wed Feb 14 2024 Frédéric Bérat - 283-1 - Update config.{guess,sub} to gnuconfig git HEAD