[openSUSE][RPM] Disable test-crypto-secret in linux-user build

This commit is contained in:
2024-02-12 10:48:06 +01:00
committed by Dario Faggioli
parent b19143deea
commit 5aec4c3b9e

View File

@@ -1004,6 +1004,8 @@ cp %{rpmfilesdir}/APIC.core-count2 %{rpmfilesdir}/DSDT.core-count2 %{rpmfilesdir
%if 0%{?qemu_user_space_build} %if 0%{?qemu_user_space_build}
# Seccomp is not supported by linux-user emulation # Seccomp is not supported by linux-user emulation
echo 'int main (void) { return 0; }' > %{srcdir}/tests/unit/test-seccomp.c echo 'int main (void) { return 0; }' > %{srcdir}/tests/unit/test-seccomp.c
# keyctl is not yet supported by linux-user emulation
echo 'int main (void) { return 0; }' > %{srcdir}/tests/unit/test-crypto-secret.c
%endif %endif
# Compile the QOM test binary first, so that ... # Compile the QOM test binary first, so that ...