From d75c1b697c727f028e71b4723f5c4e94a9a61df8c3d588b86951c77fdb78474a Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 30 Oct 2023 19:21:52 +0000 Subject: [PATCH] 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 --- strace.changes | 6 ++++++ strace.spec | 8 -------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/strace.changes b/strace.changes index c8a34ba..bebd5f6 100644 --- a/strace.changes +++ b/strace.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Oct 30 14:45:35 UTC 2023 - Antonio Teixeira + +- 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 diff --git a/strace.spec b/strace.spec index 6100b9b..4f8844d 100644 --- a/strace.spec +++ b/strace.spec @@ -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