[oe-commits] Stanislav Brabec : rpm, yum: Reverted back python "site-recipes" to " site-packages".
GIT User account
git at amethyst.openembedded.net
Fri Mar 20 14:14:12 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 899f35e8f71271de177f81cb470b9e87965107f2
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=899f35e8f71271de177f81cb470b9e87965107f2
Author: Stanislav Brabec <sbrabec at suse.cz>
Date: Fri Mar 20 14:06:09 2009 +0000
rpm, yum: Reverted back python "site-recipes" to "site-packages".
---
recipes/rpm/rpm_4.4.2.3.bb | 2 +-
recipes/yum/files/paths2.patch | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/recipes/rpm/rpm_4.4.2.3.bb b/recipes/rpm/rpm_4.4.2.3.bb
index 6c2dc55..cb8bdd6 100644
--- a/recipes/rpm/rpm_4.4.2.3.bb
+++ b/recipes/rpm/rpm_4.4.2.3.bb
@@ -30,7 +30,7 @@ EXTRA_OECONF = "--with-python \
--without-efence"
PACKAGES += "python-rpm"
-FILES_python-rpm = "${libdir}/python*/site-recipes/rpm/_*"
+FILES_python-rpm = "${libdir}/python*/site-packages/rpm/_*"
# Handle the db MUTEX settings here, the POSIX library is
# the default - "POSIX/pthreads/library".
diff --git a/recipes/yum/files/paths2.patch b/recipes/yum/files/paths2.patch
index db614df..2e11bdc 100644
--- a/recipes/yum/files/paths2.patch
+++ b/recipes/yum/files/paths2.patch
@@ -13,7 +13,7 @@
-PYSYSDIR := $(shell $(PYTHON) -c 'import sys; print sys.prefix')
+PYSYSDIR = $(prefix)
PYLIBDIR = $(PYSYSDIR)/lib/python$(PYVER)
- PKGDIR = $(PYLIBDIR)/site-recipes/$(PACKAGE)
+ PKGDIR = $(PYLIBDIR)/site-packages/$(PACKAGE)
all:
echo "Nothing to do"
@@ -27,7 +27,7 @@
-PYSYSDIR := $(shell $(PYTHON) -c 'import sys; print sys.prefix')
+PYSYSDIR = $(prefix)
PYLIBDIR = $(PYSYSDIR)/lib/python$(PYVER)
- PKGDIR = $(PYLIBDIR)/site-recipes/$(PACKAGE)
+ PKGDIR = $(PYLIBDIR)/site-packages/$(PACKAGE)
all:
echo "Nothing to do"
More information about the Openembedded-commits
mailing list