From aeae02b769a464af46c740a89e73348337252f08 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Wed, 13 Jan 2021 16:20:31 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/time.git#c42dfe3af406b931b18edd7c5a547bdf4327d9d3 --- time.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/time.spec b/time.spec index b2f7111..8c3b65c 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: 14%{?dist} +Release: 15%{?dist} # src/time.c: GPLv3+ # COPYING: GPLv3 text # doc/time.texi: GFDL @@ -63,9 +63,8 @@ BuildRequires: coreutils BuildRequires: gcc BuildRequires: gnupg2 BuildRequires: make -BuildRequires: texinfo -# Tests BuildRequires: sed +BuildRequires: texinfo %description The GNU time utility runs another program, collects information about @@ -79,7 +78,7 @@ the results. %patch1 -p1 %patch2 -p1 # Set time stamp stored in an info page to the latest patch -touch -r %{PATCH2} doc/time.texi +touch -d "$(sed -n -e '/^Date: /{s/^[^:]*: //;p}' %{PATCH2})" doc/time.texi %patch3 -p1 # Correct version VERSION flag for doc/time.texi # @@ -106,6 +105,9 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir # time(1) manual page lives in man-pages package, bug #1612294. %changelog +* Wed Jan 13 2021 Petr Pisar - 1.9-15 +- Retrieve a time stamp of the info page from a patch date header + * Wed Jan 13 2021 Petr Pisar - 1.9-14 - Correct version in an info page - Set time stamp stored in an info page to the latest patch