From 0860ee09abc8e90cd88286dc5b81be2dd705546a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 31 May 2024 18:03:01 +0200 Subject: [PATCH] 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 --- libsolv.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libsolv.spec b/libsolv.spec index 88604bd..46ec2f6 100644 --- a/libsolv.spec +++ b/libsolv.spec @@ -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.