Accepting request 1008880 from security:apparmor

- skip code linting for packaging
  * removes pyflakes from the build requirements and thus Ring1
  * see also https://gitlab.com/apparmor/apparmor/-/issues/121 (forwarded request 998222 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1008880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apparmor?expand=0&rev=183
This commit is contained in:
Fabian Vogt 2022-10-10 16:46:26 +00:00 committed by Git OBS Bridge
commit fd62056fef
2 changed files with 9 additions and 2 deletions

View File

@ -20,6 +20,13 @@ Fri Aug 26 11:37:21 UTC 2022 - David Disseldorp <ddiss@suse.com>
- add profiles-permit-php-fpm-pid-files-directly-under-run.patch
https://gitlab.com/apparmor/apparmor/-/merge_requests/914 (bsc#1202344)
-------------------------------------------------------------------
Fri Aug 19 17:05:37 UTC 2022 - Ben Greiner <code@bnavigator.de>
- skip code linting for packaging
* removes pyflakes from the build requirements and thus Ring1
* see also https://gitlab.com/apparmor/apparmor/-/issues/121
-------------------------------------------------------------------
Mon Aug 8 18:51:26 UTC 2022 - Christian Boltz <suse-beta@cboltz.de>

View File

@ -105,7 +105,6 @@ BuildRequires: gcc-c++
BuildRequires: pcre-devel
BuildRequires: pkg-config
BuildRequires: python3
BuildRequires: python3-pyflakes
BuildRequires: perl(Locale::gettext)
BuildRequires: swig
@ -436,7 +435,8 @@ test -f profiles/cache/*/bin.ping
test -f profiles/cache/*/.features
%endif
make check -C utils PYFLAKES=/usr/bin/pyflakes-%{py3_ver}
# run checks in utils except linting -- https://gitlab.com/apparmor/apparmor/-/issues/121
make check -o check_lint -C utils
%install
# libapparmor: swig bindings only, libapparmor is packaged via libapparmor.spec