Skip to content

Commit

Permalink
Packaging: Require an exact release of libdnf5-cli by dnf5-plugins
Browse files Browse the repository at this point in the history
rpminspect complains on a dnf5 build:

    Subpackage dnf5-plugins on x86_64 carries 'Requires:
    libdnf5-cli.so.1()(64bit)' which comes from subpackage libdnf5-cli
    but does not carry an explicit package version requirement. Please
    add 'Requires: libdnf5-cli = %{version}-%{release}' to the spec
    file to avoid the need to test interoperability between various
    combinations of old and new subpackages.

This patch adds the dependency into dnf5.spec.
The very same dependency already exists in dnf5daemon-client and
libdnf5-cli bindings.
  • Loading branch information
ppisar committed Jan 5, 2024
1 parent 09ecf65 commit 0db578e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dnf5.spec
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ Summary: Plugins for dnf5
License: LGPL-2.1-or-later
Requires: dnf5%{?_isa} = %{version}-%{release}
Requires: libcurl%{?_isa} >= 7.62.0
Requires: libdnf5-cli%{?_isa} = %{version}-%{release}
Provides: dnf5-command(builddep)
Provides: dnf5-command(changelog)
Provides: dnf5-command(config-manager)
Expand Down

0 comments on commit 0db578e

Please sign in to comment.