From b4db6c19b2a26fc996d271108dd35f6b9db2b9cf Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Tue, 11 Apr 2017 21:22:18 +0900 Subject: Fix: TIC regards - as a tokenizer. Don't Use it. - ==> _ Change-Id: I73624c418701a658a631dc0b84903dfff1891d8b Signed-off-by: MyungJoo Ham --- packaging/building-blocks.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packaging') 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") \ -- cgit v1.2.3