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 authored and Richard Purdie committed 2010-09-02 10:01:22 +01:00
1 parent 431c97533b
commit 84f7f70308
2 files changed
+65 -18

No files matched your search

+2
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@")