From c8ac0a0ab5bd5eda26bbc6ceb174b668d23b13b6 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Thu, 13 Sep 2012 09:01:39 +0200 Subject: [PATCH] Do not remove user on common subpackage uninstall --- bacula.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/bacula.spec b/bacula.spec index 0eae4c2..4fbf95d 100644 --- a/bacula.spec +++ b/bacula.spec @@ -3,7 +3,7 @@ Name: bacula Version: 5.2.11 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Cross platform network backup for Linux, Unix, Mac and Windows # See LICENSE for details License: AGPLv3 with exceptions @@ -498,11 +498,6 @@ getent passwd %username >/dev/null || useradd -u %uid -r -s /sbin/nologin \ exit 0 -%postun common -test "$1" != 0 || userdel %username &>/dev/null || : -test "$1" != 0 || groupdel %username &>/dev/null || : -exit 0 - # Until this is fixed upstream in fedpkg, leave it like this # http://permalink.gmane.org/gmane.linux.redhat.fedora.devel/168291 %if (0%{?fedora} == 16 || 0%{?fedora} == 17) && !0%{?rhel} @@ -883,6 +878,9 @@ fi %changelog +* Thu Sep 13 2012 Simone Caronni - 5.2.11-2 +- Do not remove user on common subpackage uninstall. + * Tue Sep 11 2012 Simone Caronni - 5.2.11-1 - Update to 5.2.11. - Removed upstreamed patches.