Make the include optional to avoid problems with empty profile dir. Probably doesn't happen on real systems, but openQA uses an empty profile dir for some tests. Note: the patch gets applied before moving the profile to the extra directory because quilt doesn't run the 'mv' command and therefore fails to patch the profile at its new location (extra profiles directory) Fixes https://bugzilla.opensuse.org/show_bug.cgi?id=1178527 Index: profiles/apparmor/profiles/extras/usr.lib.apache2.mpm-prefork.apache2 =================================================================== --- profiles/apparmor/profiles/extras/usr.lib.apache2.mpm-prefork.apache2.orig 2020-12-02 12:01:37.000000000 +0100 +++ profiles/apparmor/profiles/extras/usr.lib.apache2.mpm-prefork.apache2 2021-01-22 12:19:45.964708670 +0100 @@ -75,7 +75,7 @@ include # This directory contains web application # package-specific apparmor files. - include + include if exists # Site-specific additions and overrides. See local/README for details. include if exists