summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package_rpm.bbclass6
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index e9ff1f7e65..bbbef3793f 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -193,8 +193,6 @@ python write_specfile () {
193 if path.endswith("DEBIAN") or path.endswith("CONTROL"): 193 if path.endswith("DEBIAN") or path.endswith("CONTROL"):
194 continue 194 continue
195 path = path.replace("%", "%%%%%%%%") 195 path = path.replace("%", "%%%%%%%%")
196 path = path.replace("[", "?")
197 path = path.replace("]", "?")
198 196
199 # Treat all symlinks to directories as normal files. 197 # Treat all symlinks to directories as normal files.
200 # os.walk() lists them as directories. 198 # os.walk() lists them as directories.
@@ -214,8 +212,6 @@ python write_specfile () {
214 if dir == "CONTROL" or dir == "DEBIAN": 212 if dir == "CONTROL" or dir == "DEBIAN":
215 continue 213 continue
216 dir = dir.replace("%", "%%%%%%%%") 214 dir = dir.replace("%", "%%%%%%%%")
217 dir = dir.replace("[", "?")
218 dir = dir.replace("]", "?")
219 # All packages own the directories their files are in... 215 # All packages own the directories their files are in...
220 target.append('%dir "' + path + '/' + dir + '"') 216 target.append('%dir "' + path + '/' + dir + '"')
221 else: 217 else:
@@ -230,8 +226,6 @@ python write_specfile () {
230 if file == "CONTROL" or file == "DEBIAN": 226 if file == "CONTROL" or file == "DEBIAN":
231 continue 227 continue
232 file = file.replace("%", "%%%%%%%%") 228 file = file.replace("%", "%%%%%%%%")
233 file = file.replace("[", "?")
234 file = file.replace("]", "?")
235 if conffiles.count(path + '/' + file): 229 if conffiles.count(path + '/' + file):
236 target.append('%config "' + path + '/' + file + '"') 230 target.append('%config "' + path + '/' + file + '"')
237 else: 231 else: