diff --git a/mesa.spec b/mesa.spec index 415981a..c0df241 100644 --- a/mesa.spec +++ b/mesa.spec @@ -70,7 +70,7 @@ Name: mesa Summary: Mesa graphics libraries %global ver 24.1.2 Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} -Release: 2%{?dist} +Release: 3%{?dist} License: MIT AND BSD-3-Clause AND SGI-B-2.0 URL: http://www.mesa3d.org @@ -275,6 +275,10 @@ Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{relea %if 0%{?with_va} Recommends: %{name}-va-drivers%{?_isa} %endif +# If mesa-libEGL is installed, it must match in version. This is here to prevent using +# mesa-libEGL < 23.0.3-1 (frozen in the 'fedora' repo) which didn't have strong enough +# inter-dependencies. See https://bugzilla.redhat.com/show_bug.cgi?id=2193135 . +Requires: (%{name}-libEGL%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} if %{name}-libEGL%{?_isa}) %description dri-drivers %{summary}. @@ -867,6 +871,11 @@ popd %endif %changelog +* Mon Aug 26 2024 José Expósito - 24.1.2-3 +- Match mesa-libEGL version + Cherry-picked from: https://src.fedoraproject.org/rpms/mesa/pull-request/24 + Resolves: https://issues.redhat.com/browse/RHEL-50229 + * Wed Jul 03 2024 José Expósito - 24.1.2-2 - Rebuild mesa with LLVM 18 Resolves: https://issues.redhat.com/browse/RHEL-28682