Stricten dependencies between libsolv subpackages (RHEL-38831)

libsolv-tools-base linked to libsolv.so provided by libsolv. Pin the
dependency to an exact release of libsolv to assure compatibility and
prevent from mixing subpackages of different builds.

libsolv-tools required an exact version of libsolv-tools-base but was
missing a specific release. Again pin to a specific release.

Resolves: RHEL-38831
This commit is contained in:
Petr Písař 2024-05-31 18:03:01 +02:00
parent 48601dea9c
commit 0860ee09ab

View File

@ -74,6 +74,7 @@ Development files for %{name}.
%package tools-base
Summary: Utilities used by libzypp to manage .solv files
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: libsolv-tools:%{_bindir}/repo2solv
%description tools-base
@ -84,7 +85,7 @@ Summary: Package dependency solver tools
Requires: %{name}%{?_isa} = %{version}-%{release}
# repo2solv dependencies. Used as execl()
Requires: /usr/bin/find
Requires: libsolv-tools-base = %{version}
Requires: libsolv-tools-base = %{version}-%{release}
%description tools
Package dependency solver tools.