diff --git a/strace.changes b/strace.changes index fa1848f..b6e15c7 100644 --- a/strace.changes +++ b/strace.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 4 14:44:37 UTC 2011 - tserong@suse.com + +- Skip "make check" when building under qemu (PTRACE not supported) + ------------------------------------------------------------------- Mon Apr 11 15:30:46 CEST 2011 - meissner@suse.de diff --git a/strace.spec b/strace.spec index 7c5990c..a11d773 100644 --- a/strace.spec +++ b/strace.spec @@ -67,8 +67,11 @@ CFLAGS="$CFLAGS -ffixed-8" make %{?_smp_mflags} +# Have to exclude make check for qemu builds, which apparently don't support PTRACE. +%if !(0%{?qemu_user_space_build}) %check make check +%endif %install make install DESTDIR=$RPM_BUILD_ROOT