Fix vaguely ridiculous buildSRPMFromSCM error

error: /builddir/build/SPECS/llvm.spec:70: bad %if condition

Seriously you don't define %{__isa_bits} at srpm time, wtf.
This commit is contained in:
Adam Jackson 2016-01-27 10:31:18 -05:00
parent ca904f135a
commit a95cfcf5aa

View File

@ -67,7 +67,7 @@ cd _build
%cmake .. \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-Bsymbolic -static-libstdc++" \
%if %{__isa_bits} == 64
%if 0%{?__isa_bits} == 64
-DLLVM_LIBDIR_SUFFIX=64 \
%else
-DLLVM_LIBDIR_SUFFIX= \