rpm: Ensure we depend on file
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Mar 2012 17:01:43 +0000 (17:01 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Mar 2012 17:40:40 +0000 (18:40 +0100)
rpm links to libmagic from file so it needs to be listed in DEPENDS else we
can have race conditions causing build failures such as those seen on the
autobuilder recently.

(From OE-Core rev: 432e36300d7231c9b01cd2c6c4b39b84cf4fddca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm_5.4.0.bb

index 8f2c5e1..4576f67 100644 (file)
@@ -43,7 +43,7 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
 
 DEPENDS = "bzip2 zlib db openssl elfutils expat libpcre attr acl popt ${extrarpmdeps}"
-extrarpmdeps = "python perl"
+extrarpmdeps = "python perl file"
 extrarpmdeps_virtclass-native = "file-native"
 PR = "r35"