From d57002cff7dd8ab3eaf2be5bff08baa377f381c4 Mon Sep 17 00:00:00 2001 From: Colin Walters <walters> Date: Thu, 18 May 2017 13:44:05 -0400 Subject: [PATCH] Remove recommends on dnf debuginfo-install In practice in Fedora, there are `dnf` and `rpm-ostree` for system management. For systems which use `dnf`, they'll generally have `plugins-core` too. If they don't, it's easy to add. For `rpm-ostree` based systems, having `gdb` pull in parts of `dnf` is problematic (since `dnf` doesnt' work there). Yes, it's just a recommends... but in practice our tools install them by default. So while the `Recommends` is theoretically right, the value it brings isn't worth the pain for people building systems not using `dnf`. --- gdb.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/gdb.spec b/gdb.spec index ded4b0c..c1d4214 100644 --- a/gdb.spec +++ b/gdb.spec @@ -98,7 +98,6 @@ Provides: bundled(md5-gcc) = %{snapsrc} %endif %if 0%{!?rhel:1} || 0%{?rhel} > 7 -Recommends: dnf-command(debuginfo-install) # https://bugzilla.redhat.com/show_bug.cgi?id=1209492 Recommends: default-yama-scope %endif -- 2.9.4
And gdb itself is pulled in by abrt: https://bugzilla.redhat.com/show_bug.cgi?id=1452336
(In reply to Colin Walters from comment #0) > For `rpm-ostree` based systems, having `gdb` pull in parts of `dnf` is > problematic (since `dnf` doesnt' work there). Yes, it's just a recommends... > but in practice our tools install them by default. In such case there should be /usr/lib/rpm/macros.d/macros.rpm-ostree setting some rpm variable which gdb.spec could use to disable the debuginfo-install Recommends. Currently I have just moved the Recommends from gdb-headless to gdb which should be right to do anyway. Together with ABRT's Bug 1452336 it should be IMO enough to fix this Bug. > So while the `Recommends` is theoretically right, the value it brings isn't > worth the pain for people building systems not using `dnf`. That is not an unbiased view.
It is only in Rawhide as requested, reopen it for other releases.