From: Flavio Leitner Date: Thu, 6 Nov 2014 18:45:42 +0000 (-0200) Subject: fedora-spec: do not replace logrotate cfg if modified X-Git-Tag: v2.4.0~1022 X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=a7321a1feee807cf8e5118245d447bffd3c82eff fedora-spec: do not replace logrotate cfg if modified Don't overwrite if the logrotate configuration file is modified. Signed-off-by: Flavio Leitner Signed-off-by: Ben Pfaff --- diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in index 8ccfc2c7a..96b808ebc 100644 --- a/rhel/openvswitch-fedora.spec.in +++ b/rhel/openvswitch-fedora.spec.in @@ -201,7 +201,7 @@ systemctl start openvswitch.service %config %ghost %{_sysconfdir}/openvswitch/conf.db %config %ghost %{_sysconfdir}/openvswitch/system-id.conf %config(noreplace) %{_sysconfdir}/sysconfig/openvswitch -%config /etc/logrotate.d/openvswitch +%config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch %{_unitdir}/openvswitch.service %{_unitdir}/openvswitch-nonetwork.service %{_datadir}/openvswitch/scripts/openvswitch.init