From: Richard Purdie Date: Sun, 11 Mar 2012 18:26:15 +0000 (+0000) Subject: package.bbclass: Drop python depends from rpmdeps X-Git-Tag: 2015-4~11501 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=5c8ad2638baac0501cecf38f8d3e8467d56afb8a;p=openembedded-core.git package.bbclass: Drop python depends from rpmdeps This python depends is added by rpmdeps every time it finds a python script. This is not necessary since we handle this in otherways. It also breaks things like nativesdk since the dependency is not renamed. The easiest solution is just to ignore this dependency. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index e8c449711f..9b6862decf 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -1185,6 +1185,8 @@ python package_do_filedeps() { if value.startswith("rpmlib("): continue + if value == "python": + continue if file not in i: i[file] = [] i[file].append(value) diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb index 2b18c5305c..eb3965e21a 100644 --- a/meta/recipes-devtools/python/python_2.7.2.bb +++ b/meta/recipes-devtools/python/python_2.7.2.bb @@ -1,7 +1,7 @@ require python.inc DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib" DEPENDS_sharprom = "python-native db readline zlib gdbm openssl" -PR = "${INC_PR}.6" +PR = "${INC_PR}.7" DISTRO_SRC_URI ?= "file://sitecustomize.py" DISTRO_SRC_URI_linuxstdbase = ""