commit 3700f33d823cf103155a9d7499d7776c02139b10
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Sun Nov 10 12:51:13 2019 +0000
Fix boolean requires on el8
xorg-x11-drv-nvidia-390xx.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/xorg-x11-drv-nvidia-390xx.spec b/xorg-x11-drv-nvidia-390xx.spec
index 4594153..0675cfa 100644
--- a/xorg-x11-drv-nvidia-390xx.spec
+++ b/xorg-x11-drv-nvidia-390xx.spec
@@ -142,7 +142,7 @@ Summary: CUDA driver for %{name}
Requires: %{_nvidia_serie}-kmod >= %{?epoch}:%{version}
Requires: %{name}-cuda-libs%{?_isa} = %{?epoch}:%{version}-%{release}
Requires: nvidia-persistenced%{?_isa} >= %{version}
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} > 7
Suggests: nvidia-modprobe%{?_isa} >= %{version}
# Boolean dependencies are only fedora
%ifarch x86_64