gdb/build-id.c: make GDB advise to use dnf debuginfo-install

filename instead dnf --enablerepo='*debug*' install filename

Fixes rhbz1874275. Modifies gdb-6.6-buildid-locate-rpm.patch.
This commit is contained in:
Alexandra Hájková 2021-10-11 14:44:19 +02:00
parent 2c9320f3f2
commit 35351989b8
2 changed files with 5 additions and 2 deletions

View File

@ -678,7 +678,7 @@ diff --git a/gdb/build-id.c b/gdb/build-id.c
+#else
+ "yum"
+#endif
+ " --enablerepo='*debug*' install", debug);
+ " debuginfo-install", debug);
+ }
}

View File

@ -37,7 +37,7 @@ Version: 10.2
# 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: 3%{?dist}
Release: 4%{?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.
@ -1148,6 +1148,9 @@ fi
%endif
%changelog
* Fri Oct 11 2021 Alexandra Hájková <ahajkova@redhat.com> - 10.2-4
- Fix RHBZ 1874275 by modifying gdb-6.6-buildid-locate-rpm.patch (Alexandra Hájková).
* Fri Sep 24 2021 Alexandra Hájková <ahajkova@redhat.com> - 10.2-3
- Backport test for RHBZ 1976887 (Kevin Buettner).