package_rpm: Enable per file dependencies

Switch the per file dependency handing to passing the information to
rpm via the standard 'external' dependency scripting.  This ensures that
the dependencies found by RPM exactly match the ones presented by
package.bbclass.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
This commit is contained in:
Mark Hatle
2010-08-30 16:44:31 -05:00
committed by Richard Purdie
parent 431c97533b
commit 84f7f70308
2 changed files with 65 additions and 18 deletions

View File

@@ -594,6 +594,8 @@ python package_do_filedeps() {
value = line_list[1]
file = file.replace(pkgdest + "/" + pkg, "")
file = file.replace("@", "@at@")
file = file.replace(" ", "@space@")
file = file.replace("\t", "@tab@")
file = file.replace("[", "@openbrace@")
file = file.replace("]", "@closebrace@")
file = file.replace("_", "@underscore@")