summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-08-28 07:35:31 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-08-28 07:35:31 +0000
commitb8ce2fb82ea1d31ce67252bdc04e512066d5aa94 (patch)
treed11989b1dc659b08b01570e89eef46e68f07eed6 /meta/classes/package_rpm.bbclass
parent102af610b9aea879115e0ed89a5336358c7ef8ee (diff)
downloadpoky-b8ce2fb82ea1d31ce67252bdc04e512066d5aa94.tar.gz
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
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r--meta/classes/package_rpm.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 2b8ef68c96..5945c047b4 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -84,6 +84,8 @@ python write_specfile() {
84 84
85 fd.write("%files\n") 85 fd.write("%files\n")
86 for file in files: 86 for file in files:
87 if file[0] != '/':
88 fd.write('/')
87 fd.write("%s\n" % file) 89 fd.write("%s\n" % file)
88 90
89 fd.close() 91 fd.close()