Accepting request 528495 from home:coolo:branches:openSUSE:Factory

- add apparmor-fix-podsyntax.patch from mailing list to fix
  compilation with perl 5.26

OBS-URL: https://build.opensuse.org/request/show/528495
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=183
This commit is contained in:
2017-09-24 11:31:08 +00:00
committed by Git OBS Bridge
parent 2bb2c46241
commit 4f49cf147b
3 changed files with 47 additions and 0 deletions

View File

@@ -85,6 +85,9 @@ Patch11: parser-tests-dbus-duplicated-conditionals.diff
Patch12: apparmor-yast-cleanup.patch
Patch13: apparmor-json-support.patch
# https://marc.info/?l=apparmor-dev&m=150151113011870&q=p7
Patch14: apparmor-fix-podsyntax.patch
PreReq: sed
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define apparmor_bin_prefix /lib/apparmor
@@ -391,6 +394,7 @@ touch libraries/libapparmor/testsuite/test_multi/unconfined-change_hat.err
%patch11
%patch12 -p1
%patch13 -p1
%patch14 -p1
# search for left-over multiline rules
test -z "$(grep -r '^\s*\(unix\|dbus\)[^,]\(([^)]*)\)*[^,]*$' profiles/apparmor.d/)"