Skip to content

Commit

Permalink
Add explicit package version for libdnf5-cli
Browse files Browse the repository at this point in the history
The change was suggested by rpminspect. See the description bellow.

Add the indicated explicit Requires to the spec file for the named
subpackage. Subpackages depending on shared libraries in another
subpackage must carry an explicit
'Requires: SUBPACKAGE_NAME = %{version}-%{release}' in the spec file.
VERIFY Subpackage dnf5 on s390x carries
'Requires: libdnf-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.
  • Loading branch information
j-mracek authored and jan-kolarik committed Feb 14, 2023
1 parent 4391e9c commit 97cdbe5
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 @@ -11,6 +11,7 @@ URL: https://github.com/rpm-software-management/dnf5
Source0: %{url}/archive/%{version}/dnf5-%{version}.tar.gz

Requires: libdnf5%{?_isa} = %{version}-%{release}
Requires: libdnf5-cli%{?_isa} = %{version}-%{release}
Requires: dnf-data
Recommends: bash-completion

Expand Down

0 comments on commit 97cdbe5

Please sign in to comment.