Accepting request 998222 from home:bnavigator:branches: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

OBS-URL: https://build.opensuse.org/request/show/998222
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=354
This commit is contained in:
Christian Boltz 2022-10-07 19:37:58 +00:00 committed by Git OBS Bridge
parent 59cee26703
commit 5fc84e780a
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