Patchwork [2/2] python-distribute: add python to RDEPENDS_python-distribute

login
register
mail settings
Submitter Robert Yang
Date July 15, 2014, 2:29 p.m.
Message ID <da31fe7e746c7ffaf031672eed2a40318715d83a.1405434230.git.liezhi.yang@windriver.com>
Download mbox | patch
Permalink /patch/75639/
State New
Headers show

Comments

Robert Yang - July 15, 2014, 2:29 p.m.
We don't need this in theory since:
python-distribute -> python-distutils -> python-core

But the rpmdeps can't figure out the dependencies recursively, and add python
to fix the warning.

[YOCTO #1662]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 .../python/python-distribute_0.6.32.bb             |    1 +
 .../python/python3-distribute_0.6.32.bb            |    1 +
 2 files changed, 2 insertions(+)

Patch

diff --git a/meta/recipes-devtools/python/python-distribute_0.6.32.bb b/meta/recipes-devtools/python/python-distribute_0.6.32.bb
index 58bb8b4..56d9787 100644
--- a/meta/recipes-devtools/python/python-distribute_0.6.32.bb
+++ b/meta/recipes-devtools/python/python-distribute_0.6.32.bb
@@ -42,6 +42,7 @@  do_install_append() {
 RDEPENDS_${PN} = "\
   python-distutils \
   python-compression \
+  python \
 "
 
 RPROVIDES_${PN} += "python-setuptools"
diff --git a/meta/recipes-devtools/python/python3-distribute_0.6.32.bb b/meta/recipes-devtools/python/python3-distribute_0.6.32.bb
index 573096c..3aaa518 100644
--- a/meta/recipes-devtools/python/python3-distribute_0.6.32.bb
+++ b/meta/recipes-devtools/python/python3-distribute_0.6.32.bb
@@ -42,6 +42,7 @@  do_install_append() {
 RDEPENDS_${PN} = "\
   python3-distutils \
   python3-compression \
+  python3 \
 "
 
 RPROVIDES_${PN} += "python3-setuptools"