From 53d96f286eed7cb5ebff3954d6e3c8b52e78f600 Mon Sep 17 00:00:00 2001 From: Jean Raby Date: Tue, 31 Jul 2012 16:27:13 +0000 Subject: [PATCH] * sogo.spec: Treat logrotate file as a config file (noreplace) Monotone-Parent: de7e6a583e1acc600d976efeef72db979312bb94 Monotone-Revision: 0a2787d6259826c9137c4fbee005b7cf638fa317 Monotone-Author: jraby@inverse.ca Monotone-Date: 2012-07-31T16:27:13 --- ChangeLog | 5 +++++ sogo.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bf2ab2880..ac504f264 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-07-31 Jean Raby + + * sogo.spec: + Treat logrotate file as a config file (noreplace) + 2012-07-31 Francis Lachapelle * SoObjects/SOGo/SOGoSieveManager.m diff --git a/sogo.spec b/sogo.spec index 5332b88e0..70c939781 100644 --- a/sogo.spec +++ b/sogo.spec @@ -212,7 +212,6 @@ rm -fr ${RPM_BUILD_ROOT} /etc/init.d/sogod /etc/cron.daily/sogo-tmpwatch -/etc/logrotate.d/sogo /var/run/sogo /var/log/sogo /var/spool/sogo @@ -231,6 +230,7 @@ rm -fr ${RPM_BUILD_ROOT} %{_libdir}/GNUstep/OCSTypeModels %{_libdir}/GNUstep/WOxElemBuilders-* +%config(noreplace) %{_sysconfdir}/logrotate.d/sogo %config(noreplace) %{_sysconfdir}/cron.d/sogo %config(noreplace) %{_sysconfdir}/httpd/conf.d/SOGo.conf %config(noreplace) %{_sysconfdir}/sysconfig/sogo @@ -312,6 +312,9 @@ fi # ********************************* changelog ************************* %changelog +* Tue Jul 31 2012 Jean Raby +- treat logrotate file as a config file + * Fri May 24 2012 Jean Raby - %post: restart sogo if it was running before rpm install