commit 8b41ed39b094309ab2ea5b2792fe259dc810ce64
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Oct 12 15:57:07 2020 +0100
Symlink profile files to fix el issue
xorg-x11-drv-nvidia.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 5c9ae89..f094002 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -298,6 +298,8 @@ install -p -m 0644 %{SOURCE5} %{buildroot}%{_alternate_dir}
#install the NVIDIA supplied application profiles
mkdir -p %{buildroot}%{_datadir}/nvidia
install -p -m 0644 nvidia-application-profiles-%{version}-{rc,key-documentation}
%{buildroot}%{_datadir}/nvidia
+ln -s nvidia-application-profiles-%{version}-rc
%{buildroot}%{_datadir}/nvidia/nvidia-application-profiles-rc
+ln -s nvidia-application-profiles-%{version}-key-documentation
%{buildroot}%{_datadir}/nvidia/nvidia-application-profiles-key-documentation
#Install the Xorg configuration files
mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d
@@ -434,7 +436,7 @@ fi ||:
%{_libdir}/xorg/modules/drivers/nvidia_drv.so
#/no_multilib
%dir %{_datadir}/nvidia
-%{_datadir}/nvidia/nvidia-application-profiles-%{version}-*
+%{_datadir}/nvidia/nvidia-application-profiles-*
%files kmodsrc
%dir %{_datadir}/nvidia-kmod-%{version}