diff --git a/time-1.9-drop-flawed-rss-test.patch b/time-1.9-drop-flawed-rss-test.patch new file mode 100644 index 0000000..9304bcb --- /dev/null +++ b/time-1.9-drop-flawed-rss-test.patch @@ -0,0 +1,11 @@ +diff --color -ruN time-1.9.orig/Makefile.am time-1.9/Makefile.am +--- time-1.9.orig/Makefile.am 2017-11-08 16:31:54.000000000 -0500 ++++ time-1.9/Makefile.am 2023-06-28 13:26:45.271212609 -0400 +@@ -74,7 +74,6 @@ + + + TESTS = tests/help-version.sh \ +- tests/time-max-rss.sh \ + tests/time-exit-codes.sh \ + tests/time-posix-quiet.sh + diff --git a/time.spec b/time.spec index 878d860..6f052a0 100644 --- a/time.spec +++ b/time.spec @@ -1,7 +1,7 @@ Summary: A GNU utility for monitoring a program's use of system resources Name: time Version: 1.9 -Release: 18%{?dist} +Release: 19%{?dist} # src/time.c: GPLv3+ # COPYING: GPLv3 text # doc/time.texi: GFDL @@ -56,6 +56,10 @@ Patch2: time-1.9-Use-kibibytes-instead-of-kilobytes-in-a-documentatio.patch # proposed to an upstream, # Patch3: time-1.9-Close-outfp-before-exec.patch +# The time-max-rss.sh test randomly fails (mallocating 5 MB more does not have +# to increase RSS in 5 MB). In addition there is regression in ppc64le kernel +# (bug #2212765) which always fails. +Patch4: time-1.9-drop-flawed-rss-test.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bash @@ -80,6 +84,7 @@ the results. # Set time stamp stored in an info page to the latest patch touch -d "$(sed -n -e '/^Date: /{s/^[^:]*: //;p}' %{PATCH2})" doc/time.texi %patch3 -p1 +%patch4 -p1 # Correct version VERSION flag for doc/time.texi # printf '%{version}\n' > .tarball-version @@ -105,6 +110,10 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir # time(1) manual page lives in man-pages package, bug #1612294. %changelog +* Wed Jul 08 2026 Ondrej Pohorelsky - 1.9-19 +- Drop flawed time-max-rss.sh test +- Resolves: RHEL-192225 + * Tue Aug 10 2021 Mohan Boddu - 1.9-18 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688