From 3ec75624574399e30a9cba5f1c3b5e67385b6791 Mon Sep 17 00:00:00 2001 From: Nir Soffer Date: Apr 08 2019 20:09:51 +0000 Subject: Add missing %systemd_postun arguments %systemd_postun was changed recently to require arguments[1]. This seems to help systemd to clean up more efficiently after uninstalling a package. [1] https://github.com/systemd/systemd/commit/085f826676a69bcce012023ce7296df9db70711c --- diff --git a/sanlock.spec b/sanlock.spec index 1d5b04e..e280f38 100644 --- a/sanlock.spec +++ b/sanlock.spec @@ -81,7 +81,7 @@ getent passwd sanlock > /dev/null || /usr/sbin/useradd \ %systemd_preun wdmd.service sanlock.service %postun -%systemd_postun +%systemd_postun wdmd.service sanlock.service %files /usr/lib/systemd/systemd-wdmd