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 /sbin/audispd /usr/lib/python2.4/site-packages/AuditMsg.py /usr/lib/python2.4/site-packages/AuditMsg.pyc /usr/lib/python2.4/site-packages/AuditMsg.pyo /usr/lib/python2.5/site-packages/_audit.so /usr/lib/python2.5/site-packages/audit.py /usr/lib/python2.5/site-packages/audit.pyc /usr/lib/python2.5/site-packages/audit.pyo [tbl@localhost site-packages]$ This breaks setroubleshoot..... Version-Release number of selected component (if applicable): audit-libs-python-1.3.1-1.fc7 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
*** 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 = \ AuditMsg.py 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.