mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +02:00
yum: fixed packaging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5426 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
33
meta/packages/yum/files/paths2.patch
Normal file
33
meta/packages/yum/files/paths2.patch
Normal file
@@ -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 = /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"
|
||||
Reference in New Issue
Block a user