[packages/xorg-driver-video-nvidia] mark 10-nvidia.conf as %config

atler atler at pld-linux.org
Wed Nov 1 13:52:42 CET 2017


commit 65e71729667326bf4427a5af2ef7b2521256940f
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Nov 1 13:49:13 2017 +0100

    mark 10-nvidia.conf as %config
    
    user's device settings should not be overriden with every driver version

 xorg-driver-video-nvidia.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/xorg-driver-video-nvidia.spec b/xorg-driver-video-nvidia.spec
index c001f9e..6b6572f 100644
--- a/xorg-driver-video-nvidia.spec
+++ b/xorg-driver-video-nvidia.spec
@@ -430,7 +430,7 @@ EOF
 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libglx.so
 %attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so.*
 %attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so
-%{_sysconfdir}/X11/xorg.conf.d/10-nvidia.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/X11/xorg.conf.d/10-nvidia.conf
 %{_sysconfdir}/X11/xorg.conf.d/10-nvidia-modules.conf
 %{_sysconfdir}/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
 %dir %{_datadir}/nvidia
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-nvidia.git/commitdiff/65e71729667326bf4427a5af2ef7b2521256940f



More information about the pld-cvs-commit mailing list