mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-24 09:32:42 +00:00
Fix s390x patch conditional
This commit is contained in:
parent
f8cfcb1052
commit
e89544b7a4
1 changed files with 11 additions and 7 deletions
18
mesa.spec
18
mesa.spec
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue