--- ./Makefile.orig 2008-10-28 20:58:14.000000000 +0100
+++ ./Makefile 2008-11-06 11:36:24.000000000 +0100
@@ -2,7 +2,7 @@ PKGNAME = createrepo
VERSION=$(shell awk '/Version:/ { print $$2 }' ${PKGNAME}.spec)
RELEASE=$(shell awk '/Release:/ { print $$2 }' ${PKGNAME}.spec)
CVSTAG=createrepo-$(subst .,_,$(VERSION)-$(RELEASE))
SUBDIRS = $(PKGNAME) bin docs
PYFILES = $(wildcard *.py)
@@ -10,7 +10,7 @@ PYFILES = $(wildcard *.py)
bindir = ${exec_prefix}/bin
@@ -50,7 +50,7 @@ MODULES = $(srcdir)/genpkgmetadata.py \
- python -c "import py_compile; py_compile.compile($*.py)"
+ $(PYTHON) -c "import py_compile; py_compile.compile($*.py)"
--- ./bin/Makefile.orig 2008-10-28 20:58:14.000000000 +0100
+++ ./bin/Makefile 2008-11-06 11:32:42.000000000 +0100
bindir = ${exec_prefix}/bin
--- ./bin/createrepo.orig 2008-10-28 20:58:14.000000000 +0100
+++ ./bin/createrepo 2008-11-06 11:33:18.000000000 +0100
-exec /usr/share/createrepo/genpkgmetadata.py "$@"
+exec @@PREFIX@@/share/createrepo/genpkgmetadata.py "$@"
--- ./bin/mergerepo.orig 2008-10-28 20:58:14.000000000 +0100
+++ ./bin/mergerepo 2008-11-06 11:33:48.000000000 +0100
-exec /usr/share/createrepo/mergerepo.py "$@"
+exec @@PREFIX@@/share/createrepo/mergerepo.py "$@"
--- ./bin/modifyrepo.orig 2008-10-28 20:58:14.000000000 +0100
+++ ./bin/modifyrepo 2008-11-06 11:33:27.000000000 +0100
-exec /usr/share/createrepo/modifyrepo.py "$@"
+exec @@PREFIX@@/share/createrepo/modifyrepo.py "$@"
--- ./genpkgmetadata.py.orig 2008-10-28 20:58:14.000000000 +0100
+++ ./genpkgmetadata.py 2008-11-06 11:34:22.000000000 +0100