1 --- rpm-4.2/configure.ac.orig 2003-05-15 10:53:44.000000000 +0200
2 +++ rpm-4.2/configure.ac 2003-05-17 13:00:00.000000000 +0200
4 AC_MSG_RESULT($withval)
5 if test $withval = yes ; then
6 WITH_PYTHON_VERSION="1.5"
8 + AC_MSG_CHECKING(for python 2.3)
10 + #include <python2.3/Python.h>
12 + exit(strncmp("2.3", PY_VERSION, 3));
14 + withval=yes, withval=no, withval=yes)
15 + AC_MSG_RESULT($withval)
16 + if test $withval = yes ; then
17 + WITH_PYTHON_VERSION="2.3"
22 --- rpm-4.2/python/Makefile.am.orig 2003-05-15 10:49:57.000000000 +0200
23 +++ rpm-4.2/python/Makefile.am 2003-05-17 13:04:14.000000000 +0200
26 PYVER= @WITH_PYTHON_VERSION@
28 -pylibdir = $(shell python -c 'import sys; print sys.path[1]')
29 +pylibdir = $(prefix)/lib/python${PYVER}
30 pyincdir = $(prefix)/include/python${PYVER}
33 --- rpm-4.2/python/rpmdb/Makefile.am~ 2003-01-09 00:21:38.000000000 +0100
34 +++ rpm-4.2/python/rpmdb/Makefile.am 2003-05-17 13:03:53.000000000 +0200
37 PYVER= @WITH_PYTHON_VERSION@
39 -pylibdir = $(shell python -c 'import sys; print sys.path[1]')
40 +pylibdir = $(prefix)/lib/python${PYVER}
43 __init__.py dbobj.py db.py dbrecio.py dbshelve.py dbtables.py dbutils.py