summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-global/package_rpm.bbclass6
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/classes-global/package_rpm.bbclass b/meta/classes-global/package_rpm.bbclass
index 63c1b077a3..81a2060b68 100644
--- a/meta/classes-global/package_rpm.bbclass
+++ b/meta/classes-global/package_rpm.bbclass
@@ -199,8 +199,6 @@ python write_specfile () {
199 if path.endswith("DEBIAN") or path.endswith("CONTROL"): 199 if path.endswith("DEBIAN") or path.endswith("CONTROL"):
200 continue 200 continue
201 path = path.replace("%", "%%%%%%%%") 201 path = path.replace("%", "%%%%%%%%")
202 path = path.replace("[", "?")
203 path = path.replace("]", "?")
204 202
205 # Treat all symlinks to directories as normal files. 203 # Treat all symlinks to directories as normal files.
206 # os.walk() lists them as directories. 204 # os.walk() lists them as directories.
@@ -220,8 +218,6 @@ python write_specfile () {
220 if dir == "CONTROL" or dir == "DEBIAN": 218 if dir == "CONTROL" or dir == "DEBIAN":
221 continue 219 continue
222 dir = dir.replace("%", "%%%%%%%%") 220 dir = dir.replace("%", "%%%%%%%%")
223 dir = dir.replace("[", "?")
224 dir = dir.replace("]", "?")
225 # All packages own the directories their files are in... 221 # All packages own the directories their files are in...
226 target.append('%dir "' + path + '/' + dir + '"') 222 target.append('%dir "' + path + '/' + dir + '"')
227 else: 223 else:
@@ -236,8 +232,6 @@ python write_specfile () {
236 if file == "CONTROL" or file == "DEBIAN": 232 if file == "CONTROL" or file == "DEBIAN":
237 continue 233 continue
238 file = file.replace("%", "%%%%%%%%") 234 file = file.replace("%", "%%%%%%%%")
239 file = file.replace("[", "?")
240 file = file.replace("]", "?")
241 if conffiles.count(path + '/' + file): 235 if conffiles.count(path + '/' + file):
242 target.append('%config "' + path + '/' + file + '"') 236 target.append('%config "' + path + '/' + file + '"')
243 else: 237 else: