disable tests while building lxc
Signed-off-by: jikai <jikai11@huawei.com> (cherry picked from commit af03eaa7c667f92bec0bcbc01d5da09304eff5bc)
This commit is contained in:
parent
1e4cd292e2
commit
7fac96a417
10
lxc.spec
10
lxc.spec
@ -1,4 +1,4 @@
|
|||||||
%global _release 14
|
%global _release 15
|
||||||
%bcond isulad 1
|
%bcond isulad 1
|
||||||
|
|
||||||
Name: lxc
|
Name: lxc
|
||||||
@ -88,7 +88,7 @@ This package contains documentation for lxc for creating containers.
|
|||||||
%ifarch riscv64
|
%ifarch riscv64
|
||||||
export LDFLAGS="%{build_ldflags} -latomic -pthread"
|
export LDFLAGS="%{build_ldflags} -latomic -pthread"
|
||||||
%endif
|
%endif
|
||||||
meson setup -Dtests=true \
|
meson setup \
|
||||||
%{?with_isulad:-Disulad=true} \
|
%{?with_isulad:-Disulad=true} \
|
||||||
%{!?with_isulad:-Disulad=false} \
|
%{!?with_isulad:-Disulad=false} \
|
||||||
%if "%{?toolchain}" == "clang"
|
%if "%{?toolchain}" == "clang"
|
||||||
@ -214,6 +214,12 @@ meson test -C build
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Mar 11 2024 jchzhou <zhoujiacheng@iscas.ac.cn> - 5.0.2-14
|
||||||
- Type: bugfix
|
- Type: bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user