commit 071b0fbac2e23cbd6cf924dbc647e91345548f52
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Aug 27 20:33:36 2020 +0100
Add systemd samples to doc
xorg-x11-drv-nvidia.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 8add3b6..44129c5 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -341,6 +341,9 @@ mkdir -p %{buildroot}%{_unitdir}
install -p -m 0644 %{SOURCE13} %{buildroot}%{_udevrulesdir}
install -p -m 0644 %{SOURCE14} %{buildroot}%{_unitdir}
+# Install systemd samples
+mkdir -p samples/systemd/
+install -p -m 0444 {nvidia-{suspend,hibernate,resume}.service,nvidia-sleep.sh,nvidia}
samples/systemd/
%pre
if [ "$1" -eq "1" ]; then
@@ -391,6 +394,7 @@ fi ||:
%doc nvidiapkg/README.txt
%doc nvidiapkg/nvidia-application-profiles-%{version}-rc
%doc nvidiapkg/html
+%doc nvidiapkg/samples
%dir %{_alternate_dir}
%{_alternate_dir}/alternate-install-present
%{_datadir}/glvnd/egl_vendor.d/10_nvidia.json
Show replies by date