Do not remove user on common subpackage uninstall

This commit is contained in:
Simone Caronni 2012-09-13 09:01:39 +02:00
parent 9716ec6b1d
commit c8ac0a0ab5

View File

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