From cb935dbcbc51897b3feda665ac7610b5ce4e681a Mon Sep 17 00:00:00 2001 From: Vincent Llorens Date: Tue, 14 Feb 2017 12:49:46 +0100 Subject: [PATCH] fix synergy erasing log file on upgrade On CentOS 7, upgrading Synergy would cause the Synergy log file to be overwritten. We fix this behaviour in this commit. Note that now the Synergy log file is created during Synergy first run, not during the first installation of Synergy. fixes bug #1664502 Sem-Ver: bugfix Change-Id: Id1a4fc3871a141f1d5fd0f2c95c10464e86dda8e --- packaging/rpm/python-synergy.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/packaging/rpm/python-synergy.spec b/packaging/rpm/python-synergy.spec index 9474742..bd48b2d 100755 --- a/packaging/rpm/python-synergy.spec +++ b/packaging/rpm/python-synergy.spec @@ -49,7 +49,6 @@ install -D -m0644 config/synergy.conf %{buildroot}%{_sysconfdir}/synergy/s install -D -m0644 scripts/synergy.service %{buildroot}%{_unitdir}/synergy.service install -d -m0700 %{buildroot}%{_localstatedir}/lib/synergy install -d -m0755 %{buildroot}%{_localstatedir}/log/synergy -touch %{buildroot}%{_localstatedir}/log/synergy/synergy.log install -d -m0755 %{buildroot}%{_localstatedir}/run/synergy install -d -m0755 %{buildroot}%{_localstatedir}/lock/synergy @@ -64,7 +63,6 @@ install -d -m0755 %{buildroot}%{_localstatedir}/lock/s %defattr(-, synergy, root, -) %{_localstatedir}/lock/synergy/ %{_localstatedir}/log/synergy/ -%{_localstatedir}/log/synergy/synergy.log %{_localstatedir}/run/synergy/ %attr(700, synergy, root) %{_localstatedir}/lib/synergy/