summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package_rpm.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 3f0a8af72c..a5225dd809 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -109,8 +109,9 @@ python write_specfile () {
109 import os 109 import os
110 for rootpath, dirs, files in os.walk(walkpath): 110 for rootpath, dirs, files in os.walk(walkpath):
111 path = rootpath.replace(walkpath, "") 111 path = rootpath.replace(walkpath, "")
112 #for dir in dirs: 112 for dir in dirs:
113 # target.append("%dir " + path + "/" + dir) 113 # All packages own the directories their files are in...
114 target.append("%dir " + path + "/" + dir)
114 for file in files: 115 for file in files:
115 if conffiles.count(path + "/" + file): 116 if conffiles.count(path + "/" + file):
116 target.append("%config " + path + "/" + file) 117 target.append("%config " + path + "/" + file)