From 5fc84e780aded05509e33ef205c47ab561fbf504cae21a7ebae770172134fdb5 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Fri, 7 Oct 2022 19:37:58 +0000 Subject: [PATCH] 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 --- apparmor.changes | 7 +++++++ apparmor.spec | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/apparmor.changes b/apparmor.changes index d777a48..270446d 100644 --- a/apparmor.changes +++ b/apparmor.changes @@ -20,6 +20,13 @@ Fri Aug 26 11:37:21 UTC 2022 - David Disseldorp - 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 + +- 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 diff --git a/apparmor.spec b/apparmor.spec index 2d87707..ee03134 100644 --- a/apparmor.spec +++ b/apparmor.spec @@ -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