summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2017-04-11 21:22:18 +0900
committerMyungJoo Ham <myungjoo.ham@samsung.com>2017-04-11 21:41:35 +0900
commitb4db6c19b2a26fc996d271108dd35f6b9db2b9cf (patch)
tree0c42a686a6d594ab148171e4656b6ddc2d86fc0b
parented03352d5e23596890a4134cc5ef31b38668156d (diff)
downloadbuilding-blocks-b4db6c19b2a26fc996d271108dd35f6b9db2b9cf.tar.gz
building-blocks-b4db6c19b2a26fc996d271108dd35f6b9db2b9cf.tar.bz2
building-blocks-b4db6c19b2a26fc996d271108dd35f6b9db2b9cf.zip
Fix: TIC regards - as a tokenizer. Don't Use it.submit/tizen/20170411.124350accepted/tizen/unified/20170411.165115
- ==> _ Change-Id: I73624c418701a658a631dc0b84903dfff1891d8b Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
-rw-r--r--packaging/building-blocks.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/building-blocks.spec b/packaging/building-blocks.spec
index 2292be7..d565160 100644
--- a/packaging/building-blocks.spec
+++ b/packaging/building-blocks.spec
@@ -156,6 +156,7 @@ end}}
if (string.sub(line, 1, 10) == 'adaptation') then \
elseif (string.sub(line, 1, 4) == 'boot') then \
elseif (prefix == rpm.expand("%{2}")) then \
+ line = string.gsub(line, "-", "_")
print("Suggests: "..rpm.expand("%{3}").."zblock_"..line) \
print("\\n") \
end \
@@ -172,7 +173,7 @@ end}}
if (string.sub(line, 1, 10) == 'adaptation') then \
elseif (string.sub(line, 1, 4) == 'boot') then \
elseif (prefix == rpm.expand("%{2}")) then \
- local pkg = rpm.expand("%{3}").."zblock_"..line \
+ local pkg = rpm.expand("%{3}").."zblock_"..string.gsub(line, "-", "_") \
local summary_available = 0 \
local filename = rpm.expand("%{1}").."/"..f \
print("\\n") \