Accepting request 344705 from devel:tools
1 OBS-URL: https://build.opensuse.org/request/show/344705 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/strace?expand=0&rev=52
This commit is contained in:
commit
b65c976548
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 22 06:06:58 UTC 2015 - normand@linux.vnet.ibm.com
|
Thu Oct 22 06:06:58 UTC 2015 - normand@linux.vnet.ibm.com
|
||||||
|
|
||||||
|
12
strace.spec
12
strace.spec
@ -45,6 +45,7 @@ Patch13: 0013-aarch64-properly-decode-generic-syscalls.patch
|
|||||||
Patch14: 0014-stat64-v.test-add-newfstatat-syscall-support.patch
|
Patch14: 0014-stat64-v.test-add-newfstatat-syscall-support.patch
|
||||||
Patch15: 0015-tests-uid-use-fchown-instead-of-chown.patch
|
Patch15: 0015-tests-uid-use-fchown-instead-of-chown.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: haveged
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
BuildRequires: libaio-devel
|
BuildRequires: libaio-devel
|
||||||
# libunwind is broken on ppc and ppc64 and aarch64
|
# libunwind is broken on ppc and ppc64 and aarch64
|
||||||
@ -52,6 +53,10 @@ BuildRequires: libaio-devel
|
|||||||
BuildRequires: libunwind-devel
|
BuildRequires: libunwind-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lksctp-tools-devel
|
BuildRequires: lksctp-tools-devel
|
||||||
|
%if 0%{suse_version} > 1140
|
||||||
|
BuildRequires: sysvinit-tools
|
||||||
|
BuildRequires: time
|
||||||
|
%endif
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
@ -109,7 +114,14 @@ make %{?_smp_mflags}
|
|||||||
# Have to exclude make check for qemu builds, which apparently don't support PTRACE.
|
# Have to exclude make check for qemu builds, which apparently don't support PTRACE.
|
||||||
%if !(0%{?qemu_user_space_build})
|
%if !(0%{?qemu_user_space_build})
|
||||||
%check
|
%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; }
|
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
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user