diff --git a/libaio.changes b/libaio.changes index 5ce764d..ba244c6 100644 --- a/libaio.changes +++ b/libaio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 23 18:51:25 UTC 2022 - Dirk Müller + +- skip testsuite on qemu_linux_user builds + ------------------------------------------------------------------- Tue Jul 12 15:18:49 UTC 2022 - Dirk Müller diff --git a/libaio.spec b/libaio.spec index 216ff06..e94f2dc 100644 --- a/libaio.spec +++ b/libaio.spec @@ -73,7 +73,10 @@ with, for the Linux-native asynchronous I/O facility ("async I/O", or rm %{buildroot}%{_libdir}/*.a %check +# qemu-linux-user does not emulate io_setup syscall, so none of the testsuite makes sense +%if ! 0%{?qemu_user_space_build} %make_build OPTFLAGS="%{optflags}" partcheck +%endif %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig