disable tests while building lxc

Signed-off-by: jikai <jikai11@huawei.com>
(cherry picked from commit af03eaa7c667f92bec0bcbc01d5da09304eff5bc)
This commit is contained in:
jikai 2024-07-29 08:54:19 +00:00 committed by openeuler-sync-bot
parent 1e4cd292e2
commit 7fac96a417

View File

@ -1,4 +1,4 @@
%global _release 14
%global _release 15
%bcond isulad 1
Name: lxc
@ -88,7 +88,7 @@ This package contains documentation for lxc for creating containers.
%ifarch riscv64
export LDFLAGS="%{build_ldflags} -latomic -pthread"
%endif
meson setup -Dtests=true \
meson setup \
%{?with_isulad:-Disulad=true} \
%{!?with_isulad:-Disulad=false} \
%if "%{?toolchain}" == "clang"
@ -214,6 +214,12 @@ meson test -C build
%endif
%changelog
* Mon Jul 29 2024 jikai <jikai11@huawei.com> - 5.0.2-15
- Type: bugfix
- ID:NA
- SUG:NA
- DESC: disable tests while building lxc
* Mon Mar 11 2024 jchzhou <zhoujiacheng@iscas.ac.cn> - 5.0.2-14
- Type: bugfix
- ID:NA