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
2008-08-28 07:35:31 +00:00
parent 102af610b9
commit b8ce2fb82e

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()