From 07c9612e44c7c28e69d23a4472dda4a8505c68e8 Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Tue, 22 Jun 2021 10:24:24 +0200 Subject: [PATCH] Remove %systemd_postun_with_restart from %postun Signed-off-by: Vitezslav Crhonek --- openwsman.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/openwsman.spec b/openwsman.spec index 400576a..2809a1b 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -279,8 +279,6 @@ fi if [ $1 -eq 0 ]; then %selinux_modules_uninstall -s %{selinuxtype} %{modulename} %selinux_relabel_post -s %{selinuxtype} - # the service needs to be restarted for the custom label to be removed - %systemd_postun_with_restart openwsmand.service fi %endif