0.186-4 - Add an explicit versioned requires

Resolves: #2068093
osci.brew-build.rpminspect.static-analysis unhappy about elfutils-0.186-3.el9
This commit is contained in:
Mark Wielaard 2022-04-08 22:42:51 +02:00
parent f2c3615cfe
commit f54abdfb4b
1 changed files with 7 additions and 1 deletions

View File

@ -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 <mjw@redhat.com> - 0.186-4
- Add an explicit versioned requires from elfutils-debuginfod-client
on elfutils-libs.
* Tue Mar 22 2022 Mark Wielaard <mjw@redhat.com> - 0.186-3
- Remove brew testsuite workarounds