[Rpm-maint] [rpm-software-management/rpm] rpm cannot parse conditional: error: unmatched ( (#775)

Michal Suchánek notifications at github.com
Thu Jun 27 14:43:02 UTC 2019


%if 1 && ( 2 || 
                3 )
%endif

error: unmatched (
error: /home/michal/kernel-source/test.spec:1: bad %if condition

%if 1 && ( 2 || \
                3 )
%endif

error: parse error in expression
error: unmatched (
error: /home/michal/kernel-source/test.spec:2: bad %if condition

%if 1 && ( 2 || 3 )
%endif

<no errors>

Clearly the line continuation \ moves the error to the next line but does not allow parsing the condition.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/775
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190627/2ce187f6/attachment.html>


More information about the Rpm-maint mailing list