Fix s390x patch conditional

This commit is contained in:
José Expósito 2024-06-28 11:26:12 +02:00
parent f8cfcb1052
commit e89544b7a4

View file

@ -76,12 +76,12 @@ Source0: https://archive.mesa3d.org/mesa-%{ver}.tar.xz
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD. # Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
Source1: Mesa-MLAA-License-Clarification-Email.txt Source1: Mesa-MLAA-License-Clarification-Email.txt
Patch: gnome-shell-glthread-disable.patch Patch10: gnome-shell-glthread-disable.patch
%ifarch s390x Patch11: 0001-llvmpipe-Init-eglQueryDmaBufModifiersEXT-num_modifie.patch
Patch: fix-egl-on-s390x.patch Patch12: 0001-Revert-ac-radeonsi-remove-has_syncobj-has_fence_to_h.patch
%endif
Patch: 0001-llvmpipe-Init-eglQueryDmaBufModifiersEXT-num_modifie.patch # s390x only
Patch: 0001-Revert-ac-radeonsi-remove-has_syncobj-has_fence_to_h.patch Patch100: fix-egl-on-s390x.patch
BuildRequires: meson >= 1.3.0 BuildRequires: meson >= 1.3.0
BuildRequires: gcc BuildRequires: gcc
@ -389,7 +389,11 @@ Obsoletes: mesa-vulkan-devel < %{?epoch:%{epoch}:}%{version}-%{release}
The drivers with support for the Vulkan API. The drivers with support for the Vulkan API.
%prep %prep
%autosetup -n %{name}-%{ver} -p1 %autosetup -n %{name}-%{ver} -N
%autopatch -p1 -M 99
%ifarch s390x
%autopatch -p1 -m 100
%endif
cp %{SOURCE1} docs/ cp %{SOURCE1} docs/
%build %build