summaryrefslogtreecommitdiff
path: root/meta/packages/yum/files/fix
blob: bcb3301e146d52d10552219e82e4c6bbfe1ac653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
 rpmUtils/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- yum-3.2.18.orig/rpmUtils/Makefile
+++ yum-3.2.18/rpmUtils/Makefile
@@ -1,10 +1,10 @@
 PYTHON=python
 PACKAGE = $(shell basename `pwd`)
 PYFILES = $(wildcard *.py)
 PYVER := $(shell $(PYTHON) -c 'import sys; print "%.3s" %(sys.version)')
-PYSYSDIR := $(shell $(PYTHON) -c 'import sys; print sys.prefix')
+PYSYSDIR := /usr
 PYLIBDIR = $(PYSYSDIR)/lib/python$(PYVER)
 PKGDIR = $(PYLIBDIR)/site-packages/$(PACKAGE)
 
 all: 
 	echo "Nothing to do"