From 9b3a964f1da683ab54288f9dea9041b29762228e Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Wed, 10 Oct 2018 14:49:53 +0200 Subject: [PATCH] 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