From b8ce2fb82ea1d31ce67252bdc04e512066d5aa94 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 28 Aug 2008 07:35:31 +0000 Subject: 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 --- meta/classes/package_rpm.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta') 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() { fd.write("%files\n") for file in files: + if file[0] != '/': + fd.write('/') fd.write("%s\n" % file) fd.close() -- cgit v1.2.3