--- /dev/null
+=== modified file 'parser/rc.apparmor.functions'
+--- parser/rc.apparmor.functions 2011-06-01 14:52:35 +0000
++++ parser/rc.apparmor.functions 2011-07-14 06:56:45 +0000
+@@ -198,6 +198,7 @@
+ aa_log_skipped_msg "$profile"
+ logger -t "AppArmor(init)" -p daemon.warn "Skipping profile $profile"
+ STATUS=2
++ continue
+ elif [ "$skip" -ne 0 ]; then
+ continue
+ fi
+@@ -206,7 +207,7 @@
+ if force_complain "${profile}" ; then
+ COMPLAIN="-C"
+ fi
+- $PARSER $ABSTRACTIONS $PARSER_ARGS $COMPLAIN "$profile" > /dev/null
++ $PARSER $ABSTRACTIONS $PARSER_ARGS $PARSER_CUSTOM_ARGS $COMPLAIN "$profile" > /dev/null
+ if [ $? -ne 0 ]; then
+ aa_log_failure_msg "$profile failed to load"
+ STATUS=1
+
+=== modified file 'parser/subdomain.conf'
+--- parser/subdomain.conf 2011-01-13 21:58:26 +0000
++++ parser/subdomain.conf 2011-07-14 06:59:27 +0000
+@@ -23,6 +23,11 @@
+ # Enable the AppArmor event daemon for reporting?
+ APPARMOR_ENABLE_AAEVENTD="no"
+
++## Path: System/AppArmor
++## Description: Custom user flags for apparmor profile parser
++#
++PARSER_CUSTOM_ARGS=""
++
+ #SUBDOMAIN_MODULE_PANIC=XXX
+ #This option controls how subdomain behaves when the init script attempts
+ #to load the AppArmor module and fails. There are 4 options
+
Summary(pl.UTF-8): Narzędzie przestrzeni użytkownika do przetwarzania AppArmor
Name: apparmor-parser
Version: 2.6.1
-Release: 1
+Release: 2
Epoch: 1
License: GPL
Group: Applications/System
# Source0-md5: e2dabce946cb8258834f90f0a6c87726
Source1: %{name}.init
Patch0: %{name}-bzr.patch
+Patch1: %{name}-pld.patch
URL: http://apparmor.wiki.kernel.org/
BuildRequires: bison
BuildRequires: flex
%setup -q -n apparmor-%{version}
# reenable when needed
#%patch0 -p0
+%patch1 -p0
%build
%{__make} -C parser main manpages \