Accepting request 838608 from security:apparmor

- Make use of %service_del_postun_without_restart
  And stop using DISABLE_RESTART_ON_UPDATE as this interface is
  obsolete. (forwarded request 835136 from fbui)

OBS-URL: https://build.opensuse.org/request/show/838608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apparmor?expand=0&rev=142
This commit is contained in:
2020-10-03 16:53:40 +00:00
committed by Git OBS Bridge
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Sep 11 15:32:37 UTC 2020 - Franck Bui <fbui@suse.com>
- Make use of %service_del_postun_without_restart
And stop using DISABLE_RESTART_ON_UPDATE as this interface is
obsolete.
-------------------------------------------------------------------
Thu Sep 3 19:40:32 UTC 2020 - James Fehlig <jfehlig@suse.com>

View File

@@ -762,8 +762,7 @@ fi
%postun parser
# don't call try-restart, see bnc#853019
export DISABLE_RESTART_ON_UPDATE="yes"
%service_del_postun apparmor.service
%service_del_postun_without_restart apparmor.service
%post abstractions
# workaround for bnc#904620#c8 / lp#1392042