[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
drain bamage this morning
- From: Alan Eldridge <alane geeksrus net>
- To: <rpm-list redhat com>
- Subject: drain bamage this morning
- Date: Mon, 14 May 2001 14:14:48 -0400 (EDT)
In that first message about parsing problems, the "if" clause of the
problem statement really should have been:
if we change the defines at the top to:
%define is_release 1
%define is_preview 0
%define is_beta 1
then:
error: parse error in expression
error: /home/alane/rpm/SPECS/kdelibs.spec:59: parseExpressionBoolean
returns -1
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
where line 59 is the line with the %if %{is_beta}... if we rearrange the
tests, so that it looks like:
%if %{is_beta}
bla bla
%else
%if %{is_release}
bla bla
then the error occurs on the same line (which now has "%if %{is_release}").
That is, the nested %if following the %else, where the %else is the false
branch of the conditional, is flagged as an error.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]