From: Richard Purdie Date: Wed, 22 Jul 2015 07:08:55 +0000 (+0100) Subject: rpm4: Drop native RDEPENDS X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~29665 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef84c4bf1d93e9fa674300b80d0442ae1069c473;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git rpm4: Drop native RDEPENDS Native recipes should *never* depend on target recipes since this would cause them to rebuild every time the target changes. Before the recent datastore changes, this happened to work. Now, this makes rpm-native unbuildable since base-files-native doesn't exist and the code remaps the variable. Dropping these dependencies here is the correct way to resolve this issue and fix an autobuilder selftest failure. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/rpm/rpm_4.11.2.bb b/meta/recipes-devtools/rpm/rpm_4.11.2.bb index df9aafbaabf..210c9433da0 100644 --- a/meta/recipes-devtools/rpm/rpm_4.11.2.bb +++ b/meta/recipes-devtools/rpm/rpm_4.11.2.bb @@ -122,7 +122,7 @@ FILES_${PN} += "${libdir}/rpm \ ${libdir}/rpm-plugins/exec.so \ " RDEPENDS_${PN} = "base-files run-postinsts" -RDEPENDS_${PN}_class-native = "base-files run-postinsts" +RDEPENDS_${PN}_class-native = "" FILES_${PN}-dbg += "${libdir}/rpm/.debug/* \ ${libdir}/rpm-plugins/.debug/* \