Accepting request 518929 from security:apparmor

- %apparmor_reload: skip and regenerate cache to make sure the latest
  profile gets always used (even if the existing cache is newer)

(+ a whitespace fix in an old changelog entry)

OBS-URL: https://build.opensuse.org/request/show/518929
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apparmor-rpm-macros?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2017-08-28 13:18:08 +00:00 committed by Git OBS Bridge
commit d0a20e9437
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Aug 26 19:08:14 UTC 2017 - suse-beta@cboltz.de
- %apparmor_reload: skip and regenerate cache to make sure the latest
profile gets always used (even if the existing cache is newer)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 11 11:01:29 UTC 2017 - jengelh@inai.de Wed Jan 11 11:01:29 UTC 2017 - jengelh@inai.de
@ -7,4 +13,3 @@ Wed Jan 11 11:01:29 UTC 2017 - jengelh@inai.de
Wed Jul 13 22:38:35 UTC 2016 - ushamim@linux.com Wed Jul 13 22:38:35 UTC 2016 - ushamim@linux.com
- Initial creation of macro, only contains %apparmor_reload - Initial creation of macro, only contains %apparmor_reload

View File

@ -1,5 +1,5 @@
%apparmor_reload()\ %apparmor_reload()\
if [ "$YAST_IS_RUNNING" != "instsys" ]; then\ if [ "$YAST_IS_RUNNING" != "instsys" ]; then\
/sbin/apparmor_parser -r %{?*} &> /dev/null || :\ /sbin/apparmor_parser -r -T -W %{?*} &> /dev/null || :\
fi\ fi\
%{nil} %{nil}