packages: mcelog/mcelog.spec - overwrite triggers on upgrade

glen glen at pld-linux.org
Tue Aug 10 12:39:50 CEST 2010


Author: glen                         Date: Tue Aug 10 10:39:50 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- overwrite triggers on upgrade

---- Files affected:
packages/mcelog:
   mcelog.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: packages/mcelog/mcelog.spec
diff -u packages/mcelog/mcelog.spec:1.21 packages/mcelog/mcelog.spec:1.22
--- packages/mcelog/mcelog.spec:1.21	Tue Aug 10 12:35:09 2010
+++ packages/mcelog/mcelog.spec	Tue Aug 10 12:39:45 2010
@@ -105,7 +105,9 @@
 %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/mcelog
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.conf
-%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*-trigger
+# do replace on upgrade, in fact, these should be moved to /lib/mcelog as they
+# all support foo.local invocation at the end
+%attr(755,root,root) %config %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*-trigger
 %attr(640,root,root) %ghost %{statdir}/memory-errors
 %{_mandir}/man8/mcelog.8*
 
@@ -115,6 +117,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2010/08/10 10:39:45  glen
+- overwrite triggers on upgrade
+
 Revision 1.21  2010/08/10 10:35:09  glen
 - supported on ix86 since 2.6.32
   list of valid cpu's can be obtained from mcelog --help, no point keeping (outdated) list here
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mcelog/mcelog.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list