]> code.ossystems Code Review - openembedded-core.git/commitdiff
createrepo 0.4.11: fix the RDEPENDS
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 20 Jul 2012 09:49:17 +0000 (17:49 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Jul 2012 11:29:46 +0000 (12:29 +0100)
The libxml2-native and rpm-native should be ready before createrepo
runs since it needs "import libxml2 rpm".

The target createrepo needs libxml2-python when run, but the libxml2
doesn't generate the python module (disabled). We may need to fix it
or rename the recipe to createrepo-native_0.4.11.bb.

This recipe is only for the rpm backend system.

[YOCTO #2753]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/createrepo/createrepo_0.4.11.bb

index 060ed597a4117ec0f2f6c0ac7b7e5f0bfa91bfa2..7a4d05968e87a3bf476512fce015de665310f5f2 100644 (file)
@@ -4,7 +4,9 @@ HOMEPAGE = "http://createrepo.baseurl.org/"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
 
-PR = "r3"
+RDEPENDS_${PN}_virtclass-native += "libxml2-native rpm-native"
+
+PR = "r4"
 
 SRC_URI= "http://createrepo.baseurl.org/download/${BP}.tar.gz \
           file://fix-native-install.patch \