[packages/swatch] config noreplace on /etc/swatch/*

mmazur mmazur at pld-linux.org
Thu Feb 5 09:26:52 CET 2015


commit 40e3e5aee928ffe4608ae7d9925dbeb5bbf66de5
Author: Mariusz Mazur <mmazur at axeos.com>
Date:   Thu Feb 5 08:26:42 2015 +0000

    config noreplace on /etc/swatch/*

 swatch.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/swatch.spec b/swatch.spec
index 7be6aaa..68795dd 100644
--- a/swatch.spec
+++ b/swatch.spec
@@ -89,9 +89,9 @@ rm -rf $RPM_BUILD_ROOT
 %{systemdunitdir}/%{name}.target
 %{systemdunitdir}/%{name}@.service
 %attr(770,root,root) %dir %{_sysconfdir}/%{name}
-%{_sysconfdir}/%{name}/sample.conf
-%{_sysconfdir}/%{name}/sample.rc
-%attr(755,root,root) %{_sysconfdir}/%{name}/sample.p*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/sample.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/sample.rc
+%config(noreplace) %verify(not md5 mtime size) %attr(755,root,root) %{_sysconfdir}/%{name}/sample.p*
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
 %{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/swatch.git/commitdiff/40e3e5aee928ffe4608ae7d9925dbeb5bbf66de5



More information about the pld-cvs-commit mailing list