From d139e68e30c6a8d25657d9b1f2aeb4af69453fe8 Mon Sep 17 00:00:00 2001 From: cf_zhao Date: Tue, 14 Feb 2023 01:21:41 +0800 Subject: [PATCH] disable check in llvm.spec (cherry picked from commit e6238e7503b5119823944a770db7c61711204437) --- llvm.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/llvm.spec b/llvm.spec index 7cf7340..eb37aa8 100644 --- a/llvm.spec +++ b/llvm.spec @@ -1,6 +1,8 @@ +%bcond_with check + Name: llvm Version: 12.0.1 -Release: 4 +Release: 5 Summary: The Low Level Virtual Machine License: NCSA URL: http://llvm.org @@ -155,8 +157,10 @@ cp -R _build/unittests %{buildroot}%{_libdir}/%{name}/ find %{buildroot}%{_libdir}/%{name} -ignore_readdir_race -iname 'cmake*' -exec rm -Rf '{}' ';' || true %check +%if %{with check} cd _build ninja check-all || : +%endif %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -197,6 +201,10 @@ fi %{_mandir}/man1/* %changelog +* Tue Feb 14 2023 cf-zhao - 12.0.1-5 +- Disable check temporarily to avoid a build error that `rmbuild` cannot +- remove a file due to no permission. + * Wed Dec 21 2022 eastb233 - 12.0.1-4 - Type: Compile Option - ID: NA -- Gitee