From 0c549f852e09f6d40e1a1e433cc8dc849b74586c 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 --- classes/package_rpm.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/package_rpm.bbclass b/classes/package_rpm.bbclass index 7f55e384fe..71fa76010f 100644 --- a/classes/package_rpm.bbclass +++ b/classes/package_rpm.bbclass @@ -121,6 +121,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