From 8bf670265e3a4dc7fabd2bbbd04b8941fe1bc80393b7f806dffcd51d04df4e2a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 15 Jun 2023 05:58:22 +0000 Subject: [PATCH] Accepting request 1093149 from home:dgarcia:branches:Base:System - Add patch disable-time-max-rss-test.patch to disable time max rss test, broken because a kernel issue (bsc#1211092) OBS-URL: https://build.opensuse.org/request/show/1093149 OBS-URL: https://build.opensuse.org/package/show/Base:System/time?expand=0&rev=15 --- disable-time-max-rss-test.patch | 24 ++++++++++++++++++++++++ time.changes | 6 ++++++ time.spec | 9 +++++++-- 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 disable-time-max-rss-test.patch diff --git a/disable-time-max-rss-test.patch b/disable-time-max-rss-test.patch new file mode 100644 index 0000000..d5aaf86 --- /dev/null +++ b/disable-time-max-rss-test.patch @@ -0,0 +1,24 @@ +Index: time-1.9/Makefile.am +=================================================================== +--- time-1.9.orig/Makefile.am ++++ time-1.9/Makefile.am +@@ -74,7 +74,6 @@ tests_time_aux_CFLAGS = + + + TESTS = tests/help-version.sh \ +- tests/time-max-rss.sh \ + tests/time-exit-codes.sh \ + tests/time-posix-quiet.sh + +Index: time-1.9/Makefile.in +=================================================================== +--- time-1.9.orig/Makefile.in ++++ time-1.9/Makefile.in +@@ -1316,7 +1316,6 @@ tests_time_aux_SOURCES = tests/time-aux. + tests_time_aux_CPPFLAGS = + tests_time_aux_CFLAGS = + TESTS = tests/help-version.sh \ +- tests/time-max-rss.sh \ + tests/time-exit-codes.sh \ + tests/time-posix-quiet.sh + diff --git a/time.changes b/time.changes index f3eea13..55a3c61 100644 --- a/time.changes +++ b/time.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jun 14 10:05:03 UTC 2023 - Daniel Garcia + +- Add patch disable-time-max-rss-test.patch to disable time max rss + test, broken because a kernel issue (bsc#1211092) + ------------------------------------------------------------------- Tue Apr 19 13:57:53 UTC 2022 - Marcus Meissner diff --git a/time.spec b/time.spec index 495a505..4c98cd2 100644 --- a/time.spec +++ b/time.spec @@ -1,7 +1,7 @@ # # spec file for package time # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,8 +27,10 @@ Source: https://ftp.gnu.org/gnu/time/%{name}-%{version}.tar.gz Source1: %{name}.rpmlintrc Source2: https://ftp.gnu.org/gnu/time/%{name}-%{version}.tar.gz.sig Source3: https://savannah.gnu.org/people/viewgpg.php?user_id=94790#/%{name}.keyring +# PATCH-FIX-OPENSUSE disable-time-max-rss-test.patch bsc#1211092 +Patch1: disable-time-max-rss-test.patch Requires(post): %{install_info_prereq} -Requires(preun): %{install_info_prereq} +Requires(preun):%{install_info_prereq} %description The "time" command runs another program, then displays information @@ -37,6 +39,9 @@ while the program was running. %prep %setup -q +%ifarch ppc ppc64 ppc64le +%patch1 -p1 +%endif %build %configure