commit 711673bbb967f1e32254925f2aa56a53536f74e5
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Apr 9 18:34:35 2018 +0200
Add cuda-libs(x86-32) if libGL(x86-32) is present
xorg-x11-drv-nvidia.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index c21cc62..d4a3ffc 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -144,6 +144,10 @@ Requires: %{name}-cuda-libs%{?_isa} =
%{?epoch}:%{version}-%{release}
Requires: nvidia-persistenced%{?_isa} = %{version}
%if 0%{?fedora}
Suggests: nvidia-modprobe%{?_isa} = %{version}
+# Boolean dependencies are only fedora
+%ifarch x86_64
+Requires: (%{name}-cuda-libs(x86-32) = %{?epoch}:%{version}-%{release} if
libGL(x86-32))
+%endif
%else
Requires: nvidia-modprobe%{?_isa} = %{version}
%endif
Show replies by date