]> code.ossystems Code Review - openembedded-core.git/commitdiff
rpm-native: Compile python rpm module (with-python)
authorAndrei Gherzan <andrei@gherzan.ro>
Wed, 11 Apr 2012 14:26:17 +0000 (17:26 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Apr 2012 15:03:39 +0000 (16:03 +0100)
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@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm_5.4.0.bb

index a9c96287f6247af2fe676632024a6f8cc7ca7ad7..5ee6b47e342a7aac1b168f58974bd0c5a1ad1275 100644 (file)
@@ -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)