Accepting request 1093191 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1093191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/time?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2023-06-17 20:19:57 +00:00 committed by Git OBS Bridge
commit f0b262d7e1
3 changed files with 37 additions and 2 deletions

View File

@ -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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 14 10:05:03 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- 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 <meissner@suse.com>

View File

@ -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