commit 9b3a964f1da683ab54288f9dea9041b29762228e
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Oct 10 14:49:53 2018 +0200
Enforce the mesa version
xorg-x11-drv-nvidia.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index dc9f07f..5296df2 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -109,7 +109,9 @@ Requires: nvidia-persistenced%{?_isa} = %{?epoch}:%{version}
%if 0%{?fedora}
Suggests: nvidia-modprobe%{?_isa} = %{?epoch}:%{version}
# Boolean dependencies are only fedora
-Requires: (%{name}-cuda-libs(x86-32) = %{?epoch}:%{version}-%{release} if
libGL(x86-32))
+%ifarch x86_64
+Requires: (%{name}-cuda-libs(x86-32) = %{?epoch}:%{version}-%{release} if
mesa-libGL(x86-32))
+%endif
%else
Requires: nvidia-modprobe%{?_isa} = %{?epoch}:%{version}
%endif
@@ -159,7 +161,7 @@ Requires: vulkan-filesystem
Requires: vulkan-loader%{?_isa}
%ifarch x86_64
# Boolean dependencies are only fedora
-Requires: (%{name}-libs(x86-32) = %{?epoch}:%{version}-%{release} if
libGL(x86-32))
+Requires: (%{name}-libs(x86-32) = %{?epoch}:%{version}-%{release} if
mesa-libGL(x86-32))
%endif
%endif