From 3c6db7500e71252c42ac9a6ecd29e77ff1050720 Mon Sep 17 00:00:00 2001 From: Steve Grubb Date: Dec 22 2006 00:15:07 +0000 Subject: update fixes for python --- diff --git a/audit-1.3.1-python.patch b/audit-1.3.1-python.patch new file mode 100644 index 0000000..53c5a71 --- /dev/null +++ b/audit-1.3.1-python.patch @@ -0,0 +1,23 @@ +diff -ur audit-1.3.1.orig/audisp/Makefile audit-1.3.1/audisp/Makefile +--- audit-1.3.1.orig/audisp/Makefile 2006-12-21 19:10:45.000000000 -0500 ++++ audit-1.3.1/audisp/Makefile 2006-12-21 19:11:04.000000000 -0500 +@@ -1,6 +1,6 @@ + # Installation directories. + PREFIX ?= $(DESTDIR)/usr +-LIBDIR ?= $(PREFIX)/lib/python2.4/site-packages ++LIBDIR ?= $(PREFIX)/lib/python2.5/site-packages + SBINDIR ?= $(DESTDIR)/sbin + LIB=AuditMsg.py + +diff -ur audit-1.3.1.orig/configure.ac audit-1.3.1/configure.ac +--- audit-1.3.1.orig/configure.ac 2006-12-21 19:10:45.000000000 -0500 ++++ audit-1.3.1/configure.ac 2006-12-21 19:11:37.000000000 -0500 +@@ -39,7 +39,7 @@ + AM_INIT_AUTOMAKE + AM_PROG_LIBTOOL + AC_SUBST(LIBTOOL_DEPS) +-AM_PATH_PYTHON(2.4) ++AM_PATH_PYTHON + + echo . + echo Checking for programs diff --git a/audit.spec b/audit.spec index ff728da..43d5fc2 100644 --- a/audit.spec +++ b/audit.spec @@ -6,6 +6,7 @@ License: GPL Group: System Environment/Daemons URL: http://people.redhat.com/sgrubb/audit/ Source0: %{name}-%{version}.tar.gz +Patch1: audit-1.3.1-python.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libtool swig python-devel BuildRequires: kernel-headers >= 2.6.18 @@ -54,6 +55,7 @@ can be used by python. %prep %setup -q +%patch1 -p1 %build autoreconf -fv --install