find.string fuction can not find string with hyphen
because hyphen is regarded as special character.
This commit makes find.string function check all strings as plain text.
Change-Id: I5464938953cb373135e993134aa238e1974e1ee6
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
%{lua: \
if (nil ~= string.find( \
" " .. rpm.expand("%asan_incompatible_pkgs") .. " ", \
- " " .. rpm.expand("%name") .. " ")) \
+ " " .. rpm.expand("%name") .. " ", 1, true)) \
then print(rpm.expand("%gcc_unforce_options")) \
end \
} \