package_rpm.bbclass: files needs to start from /

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5116 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz committed 2008-08-28 07:35:31 +00:00
1 parent 102af610b9
commit b8ce2fb82e
1 file changed
+2
+2
View File
@@ -84,6 +84,8 @@ python write_specfile() {
fd.write("%files\n")
for file in files:
if file[0] != '/':
fd.write('/')
fd.write("%s\n" % file)
fd.close()