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 <nsoffer(a)redhat.com>
---
sanlock.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.25.4