Red Hat Bugzilla – Bug 220460
audit-lib-python should put AuditMsg.* in /usr/lib/python2.5/site-packages
Last modified: 2007-11-30 17:11:51 EST
Description of problem:
audit-libs-python puts some packages in python2.4 and some in python 2.5:
[tbl@localhost site-packages]$ rpm -ql audit-libs-python
This breaks setroubleshoot.....
Version-Release number of selected component (if applicable):
Steps to Reproduce:
*** Bug 220456 has been marked as a duplicate of this bug. ***
The problem is audisp/Makefile has this line:
LIBDIR ?= $(PREFIX)/lib/python2.4/site-packages
The other problem is audisp/Makefile seems to be "hardcoded" it should be
generated by configure.ac from audisp/Makefile.am. To do this two things have to
happen, audisp/Makefile.am has to be added and then it has to be referenced in
configure.ac in the AC_OUTPUT macro.
audisp/Makefile.am should have something like this:
PYTHON_FILES = \
audispdir = $(pythondir)
audispdir_PYTHON = $(PYTHON_FILES)
The above may not 100% correct, it's off the top of my head, but should be close
Also, configure.ac has AM_PATH_PYTHON(2.4), I don't think it should be
hardcoded, should just be AM_PATH_PYTHON, right?
audit-1.3.1-2 was built to hopefully solve this problem. Thanks for reporting it.