From ef5120f4679dd3ec4b7ee20fdd9f698cfe309288386833d31fe40a7606465d08 Mon Sep 17 00:00:00 2001 From: Kristoffer Gronlund Date: Tue, 14 Aug 2018 14:10:54 +0000 Subject: [PATCH] - Avoid systemd service removal errors when uninstalling (bsc#1093165) OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/csync2?expand=0&rev=47 --- csync2.changes | 5 +++++ csync2.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/csync2.changes b/csync2.changes index c608f4f..c2f2f9a 100644 --- a/csync2.changes +++ b/csync2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 14 14:10:16 UTC 2018 - kgronlund@suse.com + +- Avoid systemd service removal errors when uninstalling (bsc#1093165) + ------------------------------------------------------------------- Thu Jul 19 13:46:24 UTC 2017 - tchvatal@suse.com diff --git a/csync2.spec b/csync2.spec index b8a8a3f..f07f33d 100644 --- a/csync2.spec +++ b/csync2.spec @@ -1,7 +1,7 @@ # # spec file for package csync2 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Name: csync2 Version: 2.0+git.1461714863.10636a4 Release: 0 Summary: Cluster synchronization tool -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Clustering/HA Url: http://oss.linbit.com/csync2/ #Source0: http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz @@ -109,7 +109,7 @@ EOF fi %preun -%service_del_preun csync2.socket csync2@.service +%service_del_preun csync2.socket # Cleanup all databases upon last removal if [ $1 -eq 0 ]; then rm -f %{_localstatedir}/lib/csync2/*