Fix %check when --without=check is given

Otherwise the %check section will always fail with "false".

This fixes my commit from before: 8dae109a67
This commit is contained in:
Konrad Kleine 2021-11-15 15:26:24 +01:00
parent 6699b0a7c6
commit 90e30031a9
1 changed files with 1 additions and 2 deletions

View File

@ -470,13 +470,12 @@ ln -s %{_datadir}/clang/clang-format-diff.py %{buildroot}%{_bindir}/clang-format
# requires lit.py from LLVM utilities
# FIXME: Fix failing ARM tests
LD_LIBRARY_PATH=%{buildroot}/%{_libdir} %{__ninja} check-all -C %{__cmake_builddir} || \
%endif
%ifarch %{arm}
:
%else
false
%endif
%endif
%endif