commit 79e27d62147f17d281a644c1412fa00a49c61dd5
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Jun 15 18:53:12 2023 +0100
Use openssl3 for fedora and el9
xorg-x11-drv-nvidia.spec | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 183bf71..5a2f4f5 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -259,8 +259,11 @@ cp -a \
%endif
libnvidia-ngx.so.%{version} \
%ifnarch aarch64
- libnvidia-pkcs11.so.%{version} \
+%if 0%{?fedora} || 0%{?rhel} > 8
libnvidia-pkcs11-openssl3.so.%{version} \
+%else
+ libnvidia-pkcs11.so.%{version} \
+%endif
%endif
libnvidia-rtcore.so.%{version} \
libnvidia-vulkan-producer.so.%{version} \
@@ -529,8 +532,11 @@ fi ||:
%{_libdir}/libnvidia-cfg.so.1
%{_libdir}/libnvidia-cfg.so.%{version}
%ifnarch aarch64
-%{_libdir}/libnvidia-pkcs11.so.%{version}
+%if 0%{?fedora} || 0%{?rhel} > 8
%{_libdir}/libnvidia-pkcs11-openssl3.so.%{version}
+%else
+%{_libdir}/libnvidia-pkcs11.so.%{version}
+%endif
%endif
%if 0%{?rhel}
%{_libdir}/libnvidia-egl-gbm.so.1
Show replies by date