[oe-commits] Robert Yang : createrepo 0.4.11: fix the RDEPENDS

git at git.openembedded.org git at git.openembedded.org
Fri Jul 20 11:35:09 UTC 2012


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

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Fri Jul 20 17:49:17 2012 +0800

createrepo 0.4.11: fix the RDEPENDS

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 at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../createrepo/createrepo_0.4.11.bb                |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-support/createrepo/createrepo_0.4.11.bb b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
index 060ed59..7a4d059 100644
--- a/meta/recipes-support/createrepo/createrepo_0.4.11.bb
+++ b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
@@ -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 \





More information about the Openembedded-commits mailing list