Patchwork [10/18] rpm: fix RDEPENDS for rpm-build

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date Nov. 29, 2013, 12:48 p.m.
Message ID <a9b7541c137b50cfcf3cf69708be6e681bcda27d.1385728901.git.Qi.Chen@windriver.com>
Download mbox | patch
Permalink /patch/62587/
State New
Headers show

Comments

Qi.Chen@windriver.com - Nov. 29, 2013, 12:48 p.m.
From: Chen Qi <Qi.Chen@windriver.com>

Fix RDEPENDS for rpm-build.

[YOCTO #5555]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-devtools/rpm/rpm_5.4.9.bb |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
index 4b95a90..840a375 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
@@ -254,7 +254,7 @@  FILES_${PN}-libs = "${libdir}/librpm-*.so \
 		${libdir}/librpmbuild-*.so \
 		"
 
-RDEPENDS_${PN}-build += "bash"
+RDEPENDS_${PN}-build += "bash file"
 
 FILES_${PN}-build = "${prefix}/src/rpm \
 		${bindir}/rpmbuild \
@@ -323,7 +323,6 @@  FILES_${PN}-build = "${prefix}/src/rpm \
 RDEPENDS_${PN} = "base-files run-postinsts"
 RDEPENDS_${PN}_class-native = ""
 RDEPENDS_${PN}_class-nativesdk = ""
-RDEPENDS_${PN}-build = "file"
 
 RDEPENDS_python-rpm = "${PN}"