Jerry James wrote:
I just had a weird failure on a koji builder:
http://koji.fedoraproject.org/koji/taskinfo?taskID=8776617
The SRPM creation step failed, with this output:
error: parse error in expression
error: /builddir/build/SPECS/libpuma.spec:119: bad %if condition
Building target platforms: noarch
Building for target noarch
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
It is complaining about this line in the spec file:
%if %{__isa_bits} == 64
Maybe try a safer comparison when/if __isa_bits is undefined? something
like:
%if "%{?__isa_bits}" == "64"
instead?
-- Rex