From 7772fe8a596d071bad982a021e766578c74d011f Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Tue, 25 Apr 2023 16:08:29 +0100 Subject: [PATCH] Add missing inter-subpackage requires (rhbz#2187726) Whenever we require a library from one of the mesa subpackages, use fully qualified requires when doing so to ensure that the packages are always updated in lock step. --- mesa.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mesa.spec b/mesa.spec index 82bfaf5..34c505e 100644 --- a/mesa.spec +++ b/mesa.spec @@ -170,6 +170,8 @@ Recommends: gl-manpages %package libEGL Summary: Mesa libEGL runtime libraries Requires: libglvnd-egl%{?_isa} >= 1:1.3.2 +Requires: %{name}-libgbm%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Recommends: %{name}-dri-drivers%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %description libEGL @@ -189,6 +191,7 @@ Provides: libEGL-devel%{?_isa} %package dri-drivers Summary: Mesa-based DRI drivers Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %if 0%{?with_va} Recommends: %{name}-va-drivers%{?_isa} %endif