fish.spec: correctly test for macro existence

Fixup of a97566b
This commit is contained in:
David Adam 2020-11-12 18:09:44 +08:00
parent a97566b6f1
commit ff144a38d0

View file

@ -74,7 +74,7 @@ EXTRA_CMAKE_FLAGS="$EXTRA_CMAKE_FLAGS -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir}"
%else
%cmake $EXTRA_CMAKE_FLAGS
%endif
$if 0%{?%cmake_build:1}
$if 0%{?cmake_build:1}
%cmake_build
%else
make %{?_smp_mflags}