diff options
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r-- | meta/classes/package_rpm.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 3f0a8af72..a5225dd80 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass @@ -109,8 +109,9 @@ python write_specfile () { import os for rootpath, dirs, files in os.walk(walkpath): path = rootpath.replace(walkpath, "") - #for dir in dirs: - # target.append("%dir " + path + "/" + dir) + for dir in dirs: + # All packages own the directories their files are in... + target.append("%dir " + path + "/" + dir) for file in files: if conffiles.count(path + "/" + file): target.append("%config " + path + "/" + file) |