From 820b52a95cb1939bfe9d2fadf9a1137f33f47926 Mon Sep 17 00:00:00 2001 From: Nir Soffer Date: May 02 2020 22:56:21 +0000 Subject: Makefile: %systemd_postun requires arguments now Since Fedora 31, %system_postun requires arguments, and fail with this "helpful" message without arguments: error: This macro requires some arguments Signed-off-by: Nir Soffer --- diff --git a/sanlock.spec.in b/sanlock.spec.in index 9ae4d8f..b14da9b 100644 --- a/sanlock.spec.in +++ b/sanlock.spec.in @@ -99,7 +99,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