Accepting request 1092694 from security:apparmor

No longer suppress stderr (forwarded request 1090655 from crameleon)

OBS-URL: https://build.opensuse.org/request/show/1092694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apparmor-rpm-macros?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2023-06-14 14:28:42 +00:00 committed by Git OBS Bridge
commit d6d9d2afbc
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jun 3 14:30:51 UTC 2023 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
- No longer suppress stderr
-------------------------------------------------------------------
Mon Aug 19 11:08:48 CEST 2019 - kukuk@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package apparmor-rpm-macros
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,7 +22,7 @@ Release: 0
Summary: RPM macros used to setup apparmor profiles
License: LGPL-2.1-or-later
Group: Development/Tools/Other
Url: https://bugs.launchpad.net/apparmor
URL: https://bugs.launchpad.net/apparmor
Source: macros.apparmor
Requires: coreutils
BuildArch: noarch

View File

@ -1,7 +1,7 @@
%apparmor_reload()\
if [ "$YAST_IS_RUNNING" != "instsys" -a -x /usr/bin/systemctl ]; then\
if /usr/bin/systemctl is-active --quiet apparmor.service; then\
/sbin/apparmor_parser -r -T -W %{?*} &> /dev/null || :\
/sbin/apparmor_parser -r -T -W %{?*} > /dev/null || :\
fi\
fi\
%{nil}