config: Add a versioned requires on libs for elfutils-debuginfod-client
Commit Message
elfutils-debuginfod-client contains the debuginfod-client binary
which is uses libelf and libdw. Add an explicit versioned requires
on elfutils-libs so they will always be in sync like done with all
other inter sub package dependencies.
Signed-off-by: Mark Wielaard <mark@klomp.org>
---
config/ChangeLog | 5 +++++
config/elfutils.spec.in | 2 ++
2 files changed, 7 insertions(+)
Comments
On Thu, 2022-04-07 at 15:29 +0200, Mark Wielaard wrote:
> elfutils-debuginfod-client contains the debuginfod-client binary
> which is uses libelf and libdw. Add an explicit versioned requires
> on elfutils-libs so they will always be in sync like done with all
> other inter sub package dependencies.
I pushed a slight variant of this that also adds an explicit versioned
requirement on elfutils-libelf. Which isn't strictly necessary because
that is already a versioned requires of elfutils-libs. But tools like
rpminspect check for these direct dependencies only.
See attached.
Cheers,
Mark
@@ -1,3 +1,8 @@
+2022-04-07 Mark Wielaard <mark@klomp.org>
+
+ * elfutils.spec.in (debuginfod-client): Add an explicit requires
+ on elfutils-libs.
+
2021-11-10 Mark Wielaard <mark@klomp.org>
* elfutils.spec.in: Update for 0.186.
@@ -141,6 +141,8 @@ profiling) of processes.
%package debuginfod-client
Summary: Library and command line client for build-id HTTP ELF/DWARF server
License: GPLv3+ and (GPLv2+ or LGPLv3+)
+# For debuginfod-find binary
+Requires: elfutils-libs = %{version}-%{release}
%package debuginfod-client-devel
Summary: Libraries and headers to build debuginfod client applications