commit 4fb4e7b603d1907655308aea59fc61a724ecae30
Author: Jakub Bogusz <[email protected]>
Date:   Sun Feb 16 12:00:24 2014 +0100

    - added groupdel/userdel

 rtkit.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/rtkit.spec b/rtkit.spec
index 3376685..cfb5d4e 100644
--- a/rtkit.spec
+++ b/rtkit.spec
@@ -20,6 +20,8 @@ Requires(pre):        /usr/sbin/groupadd
 Requires(pre): /usr/sbin/useradd
 Requires(post):        systemd-units
 Requires(preun):       systemd-units
+Requires(postun):      /usr/sbin/groupdel
+Requires(postun):      /usr/sbin/userdel
 Requires(postun):      systemd-units
 Requires:      dbus
 Requires:      polkit
@@ -81,6 +83,10 @@ fi
 
 %postun
 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
+if [ "$1" = "0" ]; then
+       %userremove rtkit
+       %groupremove rtkit
+fi
 
 %files
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rtkit.git/commitdiff/4fb4e7b603d1907655308aea59fc61a724ecae30

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to