@ -1,44 +1,45 @@
Summary: A GNU utility for monitoring a program's use of system resources
Summary: A GNU utility for monitoring a program's use of system resources
Name: time
Name: time
Version: 1.9
Version: 1.9
Release: 18 %{?dist}
Release: 25 %{?dist}
# src/time.c: GPLv3+
# src/time.c: GPL-3.0-or-later
# COPYING: GPLv3 text
# COPYING: GPL-3.0 text
# doc/time.texi: GFDL
# doc/time.texi: GFDL-1.3-no-invariants-or-later
# doc/fdl.texi: GFDL 1.3 text
# doc/fdl.texi: GFDL- 1.3 text
# doc/time.info: GFDL
# doc/time.info: GFDL-1.3-no-invariants-or-later
# lib/stdnoreturn.in.h: GPLv3+
# lib/stdnoreturn.in.h: GPL-3.0-or-later
# lib/strerror-override.c: GPLv3+
# lib/strerror-override.c: GPL-3.0-or-later
# lib/error.h: GPLv3+
# lib/error.h: GPL-3.0-or-later
## Not in a binary package
## Not in a binary package
# tests/init.sh: GPLv3+
# tests/init.sh: GPL-3.0-or-later
# INSTALL: FSFAP
# INSTALL: FSFAP
# configure: FSFUL
# configure: FSFUL
# build-aux/config.guess: GPLv3+ with exceptions
# build-aux/config.guess: GPL-3.0-or-later WITH Autoconf-exception-generic
# build-aux/install-sh: MIT and Public Domain
# build-aux/install-sh: X11 AND LicenseRef-Fedora-Public- Domain
# build-aux/config.rpath: FSFULLR
# build-aux/config.rpath: FSFULLR
# build-aux/test-driver: GPLv2+ with exceptions
# build-aux/test-driver: GPL-2.0-or-later WITH Autoconf-exception-generic
# build-aux/update-copyright: GPLv3+
# build-aux/update-copyright: GPL-3.0-or-later
# build-aux/useless-if-before-free: GPLv3+
# build-aux/useless-if-before-free: GPL-3.0-or-later
# build-aux/vc-list-files: GPLv3+
# build-aux/vc-list-files: GPL-3.0-or-later
# build-aux/missing: GPLv2+ with exceptions
# build-aux/missing: GPL-2.0-or-later WITH Autoconf-exception-generic
# build-aux/compile: GPLv2+ with exceptions
# build-aux/compile: GPL-2.0-or-later WITH Autoconf-exception-generic
# build-aux/config.sub: GPLv3+ with exceptions
# build-aux/config.sub: GPL-3.0-or-later WITH Autoconf-exception-generic
# build-aux/gitlog-to-changelog: GPLv3+
# build-aux/gitlog-to-changelog: GPL-3.0-or-later
# build-aux/git-version-gen: GPLv3+
# build-aux/git-version-gen: GPL-3.0-or-later
# build-aux/texinfo.tex: GPLv3+ with exceptions
# build-aux/texinfo.tex: GPL-3.0-or-later WITH Texinfo-exception AND GPL-1.0-or-later
# build-aux/depcomp: GPLv2+ with exceptions
# build-aux/depcomp: GPL-2.0-or-later WITH Autoconf-exception-generic
# build-aux/mdate-sh: GPLv2+ with exceptions
# build-aux/mdate-sh: GPL-2.0-or-later WITH Autoconf-exception-generic
# GNUmakefile: GPLv3+
# GNUmakefile: GPL-3.0-or-later
# m4/asm-underscore.m4: FSFULLR
# m4/asm-underscore.m4: FSFULLR
# m4/gnulib-cache.m4: GPLv3+ with exceptions
# m4/gnulib-cache.m4: GPL-3.0-or-later WITH Autoconf-exception-generic
# m4/host-cpu-c-abi.m4: FSFULLR
# m4/host-cpu-c-abi.m4: FSFULLR
# m4/longlong.m4: FSFULLR
# m4/longlong.m4: FSFULLR
# m4/ssize_t.m4: FSFULLR
# m4/ssize_t.m4: FSFULLR
# m4/stdnoreturn.m4: FSFULLR
# m4/stdnoreturn.m4: FSFULLR
# maint.mk: GPLv3+
# maint.mk: GPL-3.0-or-later
# tests/time-posix-quiet.sh: GPLv3+
# tests/time-posix-quiet.sh: GPL-3.0-or-later
License: GPLv3+ and GFDL
License: GPL-3.0-or-later AND GFDL-1.3-no-invariants-or-later
SourceLicense: %{license} AND GPL-3.0-or-later WITH Autoconf-exception-generic AND GPL-3.0-or-later WITH Texinfo-exception AND GPL-2.0-or-later WITH Autoconf-exception-generic AND GPL-1.0-or-later AND X11 AND FSFAP AND FSFUL AND FSFULLR AND LicenseRef-Fedora-Public-Domain
Url: https://www.gnu.org/software/%{name}/
Url: https://www.gnu.org/software/%{name}/
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig
Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig
@ -56,6 +57,13 @@ Patch2: time-1.9-Use-kibibytes-instead-of-kilobytes-in-a-documentatio.patch
# proposed to an upstream,
# proposed to an upstream,
# <https://lists.gnu.org/archive/html/bug-time/2020-11/msg00001.html>
# <https://lists.gnu.org/archive/html/bug-time/2020-11/msg00001.html>
Patch3: time-1.9-Close-outfp-before-exec.patch
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
# Fix formatting a trailing backslash, proposed to the upstream,
# <https://lists.gnu.org/archive/html/bug-time/2024-01/msg00000.html>
Patch5: time-1.9-Fix-formatting-a-trailing-backslash-and-a-percent-si.patch
BuildRequires: autoconf
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: automake
BuildRequires: bash
BuildRequires: bash
@ -74,12 +82,14 @@ the results.
%prep
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%setup -q
%setup -q
%patch0 -p1
%patch -P 0 -p1
%patch1 -p1
%patch -P 1 -p1
%patch2 -p1
%patch -P 2 -p1
# Set time stamp stored in an info page to the latest patch
# Set time stamp stored in an info page to the latest patch
touch -d "$(sed -n -e '/^Date: /{s/^[^:]*: //;p}' %{PATCH2})" doc/time.texi
touch -d "$(sed -n -e '/^Date: /{s/^[^:]*: //;p}' %{PATCH2})" doc/time.texi
%patch3 -p1
%patch -P3 -p1
%patch -P4 -p1
%patch -P5 -p1
# Correct version VERSION flag for doc/time.texi
# Correct version VERSION flag for doc/time.texi
# <https://lists.gnu.org/archive/html/bug-time/2021-01/msg00000.html>
# <https://lists.gnu.org/archive/html/bug-time/2021-01/msg00000.html>
printf '%{version}\n' > .tarball-version
printf '%{version}\n' > .tarball-version
@ -105,12 +115,36 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
# time(1) manual page lives in man-pages package, bug #1612294.
# time(1) manual page lives in man-pages package, bug #1612294.
%changelog
%changelog
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.9-18
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com>
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
- Bump release for October 2024 mass rebuild:
Related: rhbz#199168 8
Resolves: RHEL-6401 8
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.9-17
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.9-24
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
- Rebuilt for MSVSphere 10
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com>
- Bump release for June 2024 mass rebuild
* Fri Jan 26 2024 Petr Pisar <ppisar@redhat.com> - 1.9-23
- Fix formatting a trailing backslash
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jun 28 2023 Stephen Gallagher <sgallagh@redhat.com> - 1.9-21
- Tests: drop time-max-rss.sh test (bug #2212765)
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-16
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild