commit 5a48222171a0f30bd4390668528a5ec2e910644e
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Jan 19 14:13:00 2022 +0100
Fixup2 cuda-drivers-version
xorg-x11-drv-nvidia.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 0b34cb8..d53f807 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -134,7 +134,7 @@ Requires: opencl-filesystem
Conflicts: xorg-x11-drv-nvidia-340xx-cuda
#Don't put an epoch here
-Provides: cuda-drivers-510 = %{version}
+Provides: cuda-drivers-%(echo %{version} | cut -f 1 -d .) = %{version}
Provides: cuda-drivers = %{version}.100
Provides: cuda-drivers%{?_isa} = %{version}.100
Obsoletes: cuda-drivers < %{version}.100