From f54abdfb4b37edc8a95a7642c566c30d9f95af9d Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Fri, 8 Apr 2022 22:42:51 +0200 Subject: [PATCH] 0.186-4 - Add an explicit versioned requires Resolves: #2068093 osci.brew-build.rpminspect.static-analysis unhappy about elfutils-0.186-3.el9 --- elfutils.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/elfutils.spec b/elfutils.spec index ebbfa96..d0eb699 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -1,6 +1,6 @@ Name: elfutils Version: 0.186 -%global baserelease 3 +%global baserelease 4 Release: %{baserelease}%{?dist} URL: http://elfutils.org/ %global source_url ftp://sourceware.org/pub/elfutils/%{version}/ @@ -183,6 +183,8 @@ License: GPLv3+ and (GPLv2+ or LGPLv3+) %if 0%{!?_isa:1} Provides: elfutils-debuginfod-client%{depsuffix} = %{version}-%{release} %endif +# For debuginfod-find binary +Requires: elfutils-libs%{depsuffix} = %{version}-%{release} %if 0%{?rhel} >= 8 || 0%{?fedora} >= 20 # Instead of the weak forward dependency from -libs to -debuginfod-client, # we'll add weak reverse dependencies from some of the many programs that @@ -418,6 +420,10 @@ exit 0 %systemd_postun_with_restart debuginfod.service %changelog +* Fri Apr 8 2022 Mark Wielaard - 0.186-4 +- Add an explicit versioned requires from elfutils-debuginfod-client + on elfutils-libs. + * Tue Mar 22 2022 Mark Wielaard - 0.186-3 - Remove brew testsuite workarounds