commit aaf7fb9e0e706d1adc05cbd0ce8829bfdac34185
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Mon Feb 27 15:02:20 2017 +0100
Make sure the license is installed in both normal driver and CUDA headless mode.
xorg-x11-drv-nvidia.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 11c53c6..07bd351 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -494,7 +494,7 @@ fi ||:
%postun cuda-libs -p /sbin/ldconfig
%files
-%doc nvidiapkg/LICENSE
+%license nvidiapkg/LICENSE
%doc nvidiapkg/NVIDIA_Changelog
%doc nvidiapkg/README.txt
%doc nvidiapkg/nvidia-application-profiles-%{version}-rc
@@ -580,6 +580,7 @@ fi ||:
%{_libdir}/vdpau/libvdpau_nvidia.so.*
%files cuda
+%license nvidiapkg/LICENSE
%if 0%{?rhel} > 6 || 0%{?fedora}
%{_unitdir}/nvidia-persistenced.service
%endif