[oe-commits] Andrei Gherzan : rpm-native: Compile python rpm module (with-python)

git at git.openembedded.org git at git.openembedded.org
Fri Apr 13 15:09:46 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 17f3cc1be0e8648cb4579793a9eb5a701deac85f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=17f3cc1be0e8648cb4579793a9eb5a701deac85f

Author: Andrei Gherzan <andrei at gherzan.ro>
Date:   Wed Apr 11 17:26:17 2012 +0300

rpm-native: Compile python rpm module (with-python)

This module is needed by python scripts from createrepo native package.

[YOCTO #2134]

RP: Add missing DEPENDS on python-native
Signed-off-by: Andrei Gherzan <andrei at gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/rpm/rpm_5.4.0.bb |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
index a9c9628..5ee6b47 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
@@ -44,7 +44,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
 
 DEPENDS = "bzip2 zlib db openssl elfutils expat libpcre attr acl popt ${extrarpmdeps}"
 extrarpmdeps = "python perl file"
-extrarpmdeps_virtclass-native = "file-native"
+extrarpmdeps_virtclass-native = "python-native file-native"
 PR = "r36"
 
 # rpm2cpio is a shell script, which is part of the rpm src.rpm.  It is needed
@@ -100,8 +100,6 @@ WITH_PYTHON = "	--with-python=${PYTHON_BASEVERSION} \
 		--without-pythonembed \
 	      "
 
-WITH_PYTHON_virtclass-native = " --without-python"
-
 # Perl modules are not built, but they could be enabled fairly easily
 # the perl module creation and installation would need to be patched.
 # (currently has host perl contamination issues)





More information about the Openembedded-commits mailing list