[bacula/f17] Do not remove user on common subpackage uninstall

Simone Caronni slaanesh at fedoraproject.org
Thu Sep 13 07:02:12 UTC 2012


commit c8ac0a0ab5bd5eda26bbc6ceb174b668d23b13b6
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Thu Sep 13 09:01:39 2012 +0200

    Do not remove user on common subpackage uninstall

 bacula.spec |   10 ++++------
 1 files 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 <negativo17 at gmail.com> - 5.2.11-2
+- Do not remove user on common subpackage uninstall.
+
 * Tue Sep 11 2012 Simone Caronni <negativo17 at gmail.com> - 5.2.11-1
 - Update to 5.2.11.
 - Removed upstreamed patches.


More information about the scm-commits mailing list