Hello community, here is the log from the commit of package strace for openSUSE:Factory checked in at 2015-11-24 22:32:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/strace (Old) and /work/SRC/openSUSE:Factory/.strace.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "strace" Changes: -------- --- /work/SRC/openSUSE:Factory/strace/strace.changes 2015-10-26 12:47:29.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.strace.new/strace.changes 2015-11-24 22:32:33.000000000 +0100 @@ -1,0 +2,8 @@ +Mon Nov 16 09:19:37 UTC 2015 - werner@suse.de + +- Add some package to the build requires to make test suite work. + That is haveged to generate entropy, sysvinit-tools to have the + tools to control start and stop of haveged, and the package time + to make the test on /usr/bin/time possible. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ strace.spec ++++++ --- /var/tmp/diff_new_pack.QKuW1D/_old 2015-11-24 22:32:34.000000000 +0100 +++ /var/tmp/diff_new_pack.QKuW1D/_new 2015-11-24 22:32:34.000000000 +0100 @@ -45,6 +45,7 @@ Patch14: 0014-stat64-v.test-add-newfstatat-syscall-support.patch Patch15: 0015-tests-uid-use-fchown-instead-of-chown.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: haveged BuildRequires: libacl-devel BuildRequires: libaio-devel # libunwind is broken on ppc and ppc64 and aarch64 @@ -52,6 +53,10 @@ BuildRequires: libunwind-devel %endif BuildRequires: lksctp-tools-devel +%if 0%{suse_version} > 1140 +BuildRequires: sysvinit-tools +BuildRequires: time +%endif BuildRequires: xz # bug437293 %ifarch ppc64 @@ -109,7 +114,14 @@ # Have to exclude make check for qemu builds, which apparently don't support PTRACE. %if !(0%{?qemu_user_space_build}) %check +haveged=$(PATH=$PATH:/sbin:/usr/sbin type -p haveged) +if test -n "$haveged" && ! /sbin/checkproc $haveged ; then + $haveged --pidfile=$PWD/haveged.pid < /dev/null 1>&0 2>&0 || true +fi make check || { cat tests/test-suite.log; exit 1; } +if test -s $PWD/haveged.pid ; then + /sbin/killproc -p $PWD/haveged.pid $haveged +fi %endif %install