Accepting request 1121269 from home:ateixeira:branches:devel:tools

- Remove haveged build requirement and usage in test suite as it is
  not needed anymore (jsc#PED-6184).

OBS-URL: https://build.opensuse.org/request/show/1121269
OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=159
This commit is contained in:
Andreas Schwab 2023-10-30 19:21:52 +00:00 committed by Git OBS Bridge
parent a22c234f04
commit d75c1b697c
2 changed files with 6 additions and 8 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 30 14:45:35 UTC 2023 - Antonio Teixeira <antonio.teixeira@suse.com>
- Remove haveged build requirement and usage in test suite as it is
not needed anymore (jsc#PED-6184).
-------------------------------------------------------------------
Sat Sep 2 07:28:27 UTC 2023 - Andreas Schwab <schwab@linux-m68k.org>

View File

@ -29,7 +29,6 @@ Source: https://github.com/strace/strace/releases/download/v%{version}/%
Source2: https://github.com/strace/strace/releases/download/v%{version}/%{name}-%{version}.tar.xz.asc
Source3: %{name}.keyring
Source4: baselibs.conf
BuildRequires: haveged
BuildRequires: libacl-devel
BuildRequires: libaio-devel
%if 0%{?suse_version} >= 1500
@ -70,14 +69,7 @@ make %{?_smp_mflags}
# Exclude testsuite for qemu builds, qemu-linux-user doesn't support ptrace.
%if !0%{?qemu_user_space_build}
%check
haveged=$(PATH=$PATH:/sbin:%{_sbindir} 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 %{?_smp_mflags} check || cat tests/test-suite.log
if test -s $PWD/haveged.pid ; then
/sbin/killproc -p $PWD/haveged.pid $haveged
fi
%endif
%install