update fixes for python

This commit is contained in:
Steve Grubb 2006-12-22 00:15:07 +00:00
parent e85f917301
commit 3c6db7500e
2 changed files with 25 additions and 0 deletions

23
audit-1.3.1-python.patch Normal file
View File

@ -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

View File

@ -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