@pmatilai commented on this pull request.
> @@ -246,8 +246,8 @@ static int expandMacrosInSpecBuf(rpmSpec spec, int strip)
if ((condition) && (!condition->withArgs)) {
const char *s = lbuf + condition->textLen;
SKIPSPACE(s);
- if (s[0])
- rpmlog(RPMLOG_WARNING,
+ if (s[0] && s[0] != '#')
+ rpmlog(RPMLOG_ERR,
An error needs to also abort the parse.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2996#pullrequestreview-1962836220
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2996/review/1962836...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint