blob: 08c9c8312e74b736ac8a97763f937bd1628c76e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
---
rpmUtils/Makefile | 2 +-
yum/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- 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"
--- yum-3.2.18.orig/yum/Makefile
+++ yum-3.2.18/yum/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"
|