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.
This commit is contained in:
Pete Walter 2023-04-25 16:08:29 +01:00
parent 0d6ec78148
commit 7772fe8a59

View file

@ -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