Accepting request 1005662 from home:dirkmueller:Factory

- skip testsuite on qemu_linux_user builds

OBS-URL: https://build.opensuse.org/request/show/1005662
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libaio?expand=0&rev=47
This commit is contained in:
Dirk Mueller 2022-09-24 06:39:14 +00:00 committed by Git OBS Bridge
parent c31151a669
commit 8ee3e1c12e
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 23 18:51:25 UTC 2022 - Dirk Müller <dmueller@suse.com>
- skip testsuite on qemu_linux_user builds
-------------------------------------------------------------------
Tue Jul 12 15:18:49 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -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