diff --git a/apparmor.changes b/apparmor.changes index 643d158..0bce9fe 100644 --- a/apparmor.changes +++ b/apparmor.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 8 20:56:45 UTC 2020 - Christian Boltz + +- %service_del_postun_without_restart only works for Tumbleweed, + keep using DISABLE_RESTART_ON_UPDATE for Leap 15.x + ------------------------------------------------------------------- Fri Sep 11 15:32:37 UTC 2020 - Franck Bui diff --git a/apparmor.spec b/apparmor.spec index 371500f..baef4ef 100644 --- a/apparmor.spec +++ b/apparmor.spec @@ -762,7 +762,12 @@ fi %postun parser # don't call try-restart, see bnc#853019 +%if 0%{?suse_version} <= 1500 +export DISABLE_RESTART_ON_UPDATE="yes" +%service_del_postun apparmor.service +%else %service_del_postun_without_restart apparmor.service +%endif %post abstractions # workaround for bnc#904620#c8 / lp#1392042