diff options
Diffstat (limited to 'recipes/yum/files/paths2.patch')
-rw-r--r-- | recipes/yum/files/paths2.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes/yum/files/paths2.patch b/recipes/yum/files/paths2.patch new file mode 100644 index 0000000000..db614dfbbd --- /dev/null +++ b/recipes/yum/files/paths2.patch @@ -0,0 +1,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 = $(prefix) + PYLIBDIR = $(PYSYSDIR)/lib/python$(PYVER) + PKGDIR = $(PYLIBDIR)/site-recipes/$(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 = $(prefix) + PYLIBDIR = $(PYSYSDIR)/lib/python$(PYVER) + PKGDIR = $(PYLIBDIR)/site-recipes/$(PACKAGE) + + all: + echo "Nothing to do" |