diff --git a/sssd.spec b/sssd.spec index 89927b7..5623fce 100644 --- a/sssd.spec +++ b/sssd.spec @@ -358,16 +358,13 @@ rm -Rf "$b/usr/share/locale"/{fa_IR,ja_JP,lt_LT,ta_IN,vi_VN} %service_add_post sssd.service %endif -%preun -%stop_on_removal sssd %if 0%{?_unitdir:1} +%preun %service_del_preun sssd.service %endif %postun /sbin/ldconfig -%restart_on_update sssd -%insserv_cleanup %if 0%{?_unitdir:1} %service_del_postun sssd.service %endif