+++ /dev/null
---- audit-2.2.1/audisp/plugins/Makefile.am.orig 2012-03-23 13:42:40.000000000 +0100
-+++ audit-2.2.1/audisp/plugins/Makefile.am 2012-04-27 14:35:04.000000000 +0200
-@@ -22,7 +22,7 @@
-
- CONFIG_CLEAN_FILES = *.loT *.rej *.orig
-
--SUBDIRS = builtins zos-remote remote
-+SUBDIRS = builtins remote
- #SUBDIRS = builtins zos-remote
- if HAVE_PRELUDE
- SUBDIRS += prelude
Patch0: %{name}-install.patch
Patch1: %{name}-m4.patch
Patch2: %{name}-nolibs.patch
-Patch3: %{name}-no_zos_remote.patch
-Patch4: %{name}-systemd-notonly.patch
-Patch5: %{name}-am.patch
-Patch6: %{name}-no-refusemanualstop.patch
-Patch7: %{name}-cronjob.patch
-Patch8: golang-paths.patch
+Patch3: %{name}-systemd-notonly.patch
+Patch4: %{name}-am.patch
+Patch5: %{name}-no-refusemanualstop.patch
+Patch6: %{name}-cronjob.patch
+Patch7: golang-paths.patch
URL: http://people.redhat.com/sgrubb/audit/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.12.6
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%{!?with_zos_remote:%patch3 -p1}
+%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
-%patch8 -p1
%if %{without python}
sed 's#swig/Makefile ##' -i configure.ac
--enable-systemd \
--with-apparmor \
--with-libwrap \
- %{?with_prelude:--with-prelude}
+ %{?with_prelude:--with-prelude} \
+ %{!?with_zos_remote:--disable-zos-remote}
%{__make}