From c675c342f585e30fa434ec1bc2e0f579368a5759 Mon Sep 17 00:00:00 2001 From: Stephen Brennan Date: Wed, 2 Oct 2024 09:06:14 -0700 Subject: [PATCH] spec: Fix missing drgn dependency on OL8 Users report that "dnf install drgn-tools" does not pull in the "drgn" package. On investigation, for OL8, the "Requires:" line must be place directly below the "%package" macro in order to apply to the drgn-tools package. Orabug: 37126783 Signed-off-by: Stephen Brennan --- buildrpm/python-drgn-tools.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/buildrpm/python-drgn-tools.spec b/buildrpm/python-drgn-tools.spec index 5182e15..732b974 100644 --- a/buildrpm/python-drgn-tools.spec +++ b/buildrpm/python-drgn-tools.spec @@ -18,10 +18,6 @@ BuildRequires: python%{python3_pkgversion}-wheel %global python_wheelname drgn_tools-%{version}-py3-none-any.whl -# The drgn dependency can be fulfilled by drgn with, or without, CTF support. -# However, drgn-tools is tied to specific drgn releases. -Requires: drgn >= 0.0.25, drgn < 0.0.30 - %global _description %{expand: drgn-tools extends the drgn debugger with scripts & helpers developed by the Oracle Linux Sustaining team. It provides a program called "corelens" which @@ -31,6 +27,9 @@ a running kernel image (via /proc/kcore).} %package -n drgn-tools Summary: %{summary} +# The drgn dependency can be fulfilled by drgn with, or without, CTF support. +# However, drgn-tools is tied to specific drgn releases. +Requires: drgn >= 0.0.25, drgn < 0.0.30 %description -n drgn-tools %{_description} %prep