summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-11 18:26:15 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-11 18:26:21 +0000
commit5c8ad2638baac0501cecf38f8d3e8467d56afb8a (patch)
tree815737ed43b4b55c6dc3a4156ec4fa528785e83c /meta
parent50dc8bfbac42b9a9b52a2f7d0568740c41790c13 (diff)
downloadopenembedded-core-5c8ad2638baac0501cecf38f8d3e8467d56afb8a.tar.gz
openembedded-core-5c8ad2638baac0501cecf38f8d3e8467d56afb8a.tar.bz2
openembedded-core-5c8ad2638baac0501cecf38f8d3e8467d56afb8a.tar.xz
openembedded-core-5c8ad2638baac0501cecf38f8d3e8467d56afb8a.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package.bbclass2
-rw-r--r--meta/recipes-devtools/python/python_2.7.2.bb2
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index e8c449711..9b6862dec 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 2b18c5305..eb3965e21 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 = ""