SHA256
1
0
forked from pool/audit
audit/audit-no_python.patch

43 lines
2.0 KiB
Diff

From: Tony Jones <tonyj@suse.de>
Subject: Disable automatic building of python code
Upsteam: never
Python code is disabled for audit.spec. Built manually by audit-libs-python.spec.
This is apparantly necessary due to the SuSE build system. Bit of a PITA but
there you have it.
--- audit-1.6.8/configure.ac.old 2008-02-29 22:20:13.248763000 +0100
+++ audit-1.6.8/configure.ac 2008-02-29 22:23:10.703128000 +0100
@@ -39,7 +39,6 @@
AM_INIT_AUTOMAKE
AM_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
-AM_PATH_PYTHON
echo .
echo Checking for programs
@@ -124,7 +124,8 @@
fi
AM_CONDITIONAL(HAVE_PRELUDE, test x$have_prelude = xyes)
-AC_OUTPUT(Makefile lib/Makefile lib/test/Makefile auparse/Makefile auparse/test/Makefile src/Makefile src/mt/Makefile swig/Makefile docs/Makefile init.d/Makefile audisp/Makefile audisp/plugins/Makefile audisp/plugins/builtins/Makefile audisp/plugins/prelude/Makefile audisp/plugins/remote/Makefile audisp/plugins/zos-remote/Makefile bindings/Makefile bindings/python/Makefile tools/Makefile tools/aulastlog/Makefile tools/ausyscall/Makefile)
+# SuSE: remove swig/Makefile + bindings/Makefile + bindings/python/Makefile
+AC_OUTPUT(Makefile lib/Makefile lib/test/Makefile auparse/Makefile auparse/test/Makefile src/Makefile src/mt/Makefile docs/Makefile init.d/Makefile audisp/Makefile audisp/plugins/Makefile audisp/plugins/builtins/Makefile audisp/plugins/prelude/Makefile audisp/plugins/remote/Makefile audisp/plugins/zos-remote/Makefile tools/Makefile tools/aulastlog/Makefile tools/ausyscall/Makefile)
echo .
echo "
--- audit-1.6.8/Makefile.am.old 2008-02-29 22:25:06.872840000 +0100
+++ audit-1.6.8/Makefile.am 2008-02-29 22:25:40.149532000 +0100
@@ -21,7 +21,8 @@
# Rickard E. (Rik) Faith <faith@redhat.com>
#
-SUBDIRS = lib auparse src/mt src audisp tools swig bindings init.d \
+# SuSE: remove swig + bindings
+SUBDIRS = lib auparse src/mt src audisp tools init.d \
docs
EXTRA_DIST = ChangeLog AUTHORS NEWS README README-install audit.spec \
contrib/capp.rules contrib/nispom.rules contrib/lspp.rules \