Yet another hack to allow successful parsing of spec files in host
environment.
Change-Id: Ie47ee06b13d3e8a79e583fc6ec97350e45237cca
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
match = parseExpressionBoolean(spec, s);
if (match < 0) {
rpmlog(RPMLOG_ERR,
- _("%s:%d: bad %%if condition\n"),
+ _("%s:%d: bad %%if condition, continuing nevertheless\n"),
ofi->fileName, ofi->lineNum);
- return PART_ERROR;
+ match = 0;
}
} else if (ISMACRO(s, "%else")) {
if (! spec->readStack->next) {