package.bbclass: Drop python depends from rpmdeps
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 11 Mar 2012 18:26:15 +0000 (18:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 11 Mar 2012 18:27:45 +0000 (18:27 +0000)
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.

(From OE-Core rev: 5c8ad2638baac0501cecf38f8d3e8467d56afb8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass
meta/recipes-devtools/python/python_2.7.2.bb

index e8c4497..9b6862d 100644 (file)
@@ -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)
index 2b18c53..eb3965e 100644 (file)
@@ -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 = ""