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 <m...@klomp.org>
---
 config/ChangeLog        | 5 +++++
 config/elfutils.spec.in | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/config/ChangeLog b/config/ChangeLog
index acbaaa88..be27373f 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2022-04-07  Mark Wielaard  <m...@klomp.org>
+
+       * elfutils.spec.in (debuginfod-client): Add an explicit requires
+       on elfutils-libs.
+
 2021-11-10  Mark Wielaard  <m...@klomp.org>
 
        * elfutils.spec.in: Update for 0.186.
diff --git a/config/elfutils.spec.in b/config/elfutils.spec.in
index aac0dffc..f4b26f03 100644
--- a/config/elfutils.spec.in
+++ b/config/elfutils.spec.in
@@ -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
-- 
2.18.4

Reply via email to