From 90e30031a92d39be96e58a7a178bb89b50af3a41 Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Mon, 15 Nov 2021 15:26:24 +0100 Subject: [PATCH] Fix %check when --without=check is given Otherwise the %check section will always fail with "false". This fixes my commit from before: https://src.fedoraproject.org/rpms/clang/c/8dae109a67de5d80992797d7f8a95085767b1a32 --- clang.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clang.spec b/clang.spec index a4bd177..016f7e3 100644 --- a/clang.spec +++ b/clang.spec @@ -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