Blame SPECS/time.spec

0459e1
Summary:    A GNU utility for monitoring a program's use of system resources
0459e1
Name:       time
0459e1
Version:    1.9
0459e1
Release:    18%{?dist}
0459e1
# src/time.c:               GPLv3+
0459e1
# COPYING:                  GPLv3 text
0459e1
# doc/time.texi:            GFDL
0459e1
# doc/fdl.texi:             GFDL 1.3 text
0459e1
# doc/time.info:            GFDL
0459e1
# lib/stdnoreturn.in.h:     GPLv3+
0459e1
# lib/strerror-override.c:  GPLv3+
0459e1
# lib/error.h:              GPLv3+
0459e1
## Not in a binary package
0459e1
# tests/init.sh:            GPLv3+
0459e1
# INSTALL:                  FSFAP
0459e1
# configure:                FSFUL
0459e1
# build-aux/config.guess:   GPLv3+ with exceptions
0459e1
# build-aux/install-sh:     MIT and Public Domain
0459e1
# build-aux/config.rpath:   FSFULLR
0459e1
# build-aux/test-driver:    GPLv2+ with exceptions
0459e1
# build-aux/update-copyright:   GPLv3+
0459e1
# build-aux/useless-if-before-free: GPLv3+
0459e1
# build-aux/vc-list-files:  GPLv3+
0459e1
# build-aux/missing:        GPLv2+ with exceptions
0459e1
# build-aux/compile:        GPLv2+ with exceptions
0459e1
# build-aux/config.sub:     GPLv3+ with exceptions
0459e1
# build-aux/gitlog-to-changelog:    GPLv3+
0459e1
# build-aux/git-version-gen:        GPLv3+
0459e1
# build-aux/texinfo.tex:    GPLv3+ with exceptions
0459e1
# build-aux/depcomp:        GPLv2+ with exceptions
0459e1
# build-aux/mdate-sh:       GPLv2+ with exceptions
0459e1
# GNUmakefile:              GPLv3+
0459e1
# m4/asm-underscore.m4:     FSFULLR
0459e1
# m4/gnulib-cache.m4:       GPLv3+ with exceptions
0459e1
# m4/host-cpu-c-abi.m4:     FSFULLR
0459e1
# m4/longlong.m4:           FSFULLR
0459e1
# m4/ssize_t.m4:            FSFULLR
0459e1
# m4/stdnoreturn.m4:        FSFULLR
0459e1
# maint.mk:                 GPLv3+
0459e1
# tests/time-posix-quiet.sh:    GPLv3+
0459e1
License:    GPLv3+ and GFDL
0459e1
Url:        https://www.gnu.org/software/%{name}/
0459e1
Source0:    https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
0459e1
Source1:    https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig
0459e1
# Obtained from a key server
0459e1
Source2:    gpgkey-F576AAAC1B0FF849792D8CB129A794FD2272BC86.gpg
0459e1
# Fix measuring time when a clock experiences a jump, bug #1004416,
0459e1
# <http://lists.gnu.org/archive/html/bug-gnu-utils/2013-09/msg00003.html>
0459e1
Patch0:     time-1.8-Prefer-clock_gettime-CLOCK_MONOTONIC.patch
0459e1
# Fix info directory entry
0459e1
Patch1:     time-1.9-Improve-info-directory-index-entry-description.patch
0459e1
# Clarify RSS size as kibibytes in a documentation, proposed to an upstream,
0459e1
# <https://lists.gnu.org/archive/html/bug-time/2020-07/msg00000.html>
0459e1
Patch2:     time-1.9-Use-kibibytes-instead-of-kilobytes-in-a-documentatio.patch
0459e1
# Do not leak a file descriptor of the --output argument to a command,
0459e1
# proposed to an upstream,
0459e1
# <https://lists.gnu.org/archive/html/bug-time/2020-11/msg00001.html>
0459e1
Patch3:     time-1.9-Close-outfp-before-exec.patch
0459e1
BuildRequires:  autoconf
0459e1
BuildRequires:  automake
0459e1
BuildRequires:  bash
0459e1
BuildRequires:  coreutils
0459e1
BuildRequires:  gcc
0459e1
BuildRequires:  gnupg2
0459e1
BuildRequires:  make
0459e1
BuildRequires:  sed
0459e1
BuildRequires:  texinfo
0459e1
0459e1
%description
0459e1
The GNU time utility runs another program, collects information about
0459e1
the resources used by that program while it is running, and displays
0459e1
the results.
0459e1
0459e1
%prep
0459e1
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
0459e1
%setup -q
0459e1
%patch0 -p1
0459e1
%patch1 -p1
0459e1
%patch2 -p1
0459e1
# Set time stamp stored in an info page to the latest patch
0459e1
touch -d "$(sed -n -e '/^Date: /{s/^[^:]*: //;p}' %{PATCH2})" doc/time.texi
0459e1
%patch3 -p1
0459e1
# Correct version VERSION flag for doc/time.texi
0459e1
# <https://lists.gnu.org/archive/html/bug-time/2021-01/msg00000.html>
0459e1
printf '%{version}\n' > .tarball-version
0459e1
autoreconf -fi
0459e1
0459e1
%build
0459e1
%configure
0459e1
%{make_build}
0459e1
0459e1
%install
0459e1
%{make_install}
0459e1
# Remove info index, it's updated by file triggers
0459e1
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
0459e1
0459e1
%check
0459e1
%{make_build} check
0459e1
0459e1
%files
0459e1
%license COPYING
0459e1
%doc AUTHORS ChangeLog NEWS README
0459e1
%{_bindir}/time
0459e1
%{_infodir}/time.info*
0459e1
# time(1) manual page lives in man-pages package, bug #1612294.
0459e1
0459e1
%changelog
0459e1
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.9-18
0459e1
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
0459e1
  Related: rhbz#1991688
0459e1
0459e1
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.9-17
0459e1
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
0459e1
0459e1
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-16
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0459e1
0459e1
* Wed Jan 13 2021 Petr Pisar <ppisar@redhat.com> - 1.9-15
0459e1
- Retrieve a time stamp of the info page from a patch date header
0459e1
0459e1
* Wed Jan 13 2021 Petr Pisar <ppisar@redhat.com> - 1.9-14
0459e1
- Correct version in an info page
0459e1
- Set time stamp stored in an info page to the latest patch
0459e1
0459e1
* Wed Jan 13 2021 Petr Pisar <ppisar@redhat.com> - 1.9-13
0459e1
- Update URL and Source addresses (thanks to Robert Scheck)
0459e1
- Verify an upstream archive signature
0459e1
0459e1
* Mon Nov 16 2020 Petr Pisar <ppisar@redhat.com> - 1.9-12
0459e1
- Fix a regression in closing a file descriptor if no --output was given
0459e1
  (bug #1898138)
0459e1
0459e1
* Wed Nov 11 2020 Petr Pisar <ppisar@redhat.com> - 1.9-11
0459e1
- Do not leak a file descriptor of the --output argument to a command
0459e1
0459e1
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-10
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0459e1
0459e1
* Mon Jul 13 2020 Petr Pisar <ppisar@redhat.com> - 1.9-9
0459e1
- Clarify RSS size as kibibytes in a documentation
0459e1
0459e1
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-8
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0459e1
0459e1
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-7
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0459e1
0459e1
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-6
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0459e1
0459e1
* Tue Aug 07 2018 Petr Pisar <ppisar@redhat.com> - 1.9-5
0459e1
- Remove time(1) manual page because it's provided by man-pages (bug #1612294)
0459e1
0459e1
* Mon Aug 06 2018 Petr Pisar <ppisar@redhat.com> - 1.9-4
0459e1
- Add time(1) manual page (bug #1612294)
0459e1
0459e1
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-3
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0459e1
0459e1
* Mon Jun 18 2018 Petr Pisar <ppisar@redhat.com> - 1.9-2
0459e1
- Remove install-info from scriptlets
0459e1
0459e1
* Tue Mar 13 2018 Petr Pisar <ppisar@redhat.com> - 1.9-1
0459e1
- 1.9 bump
0459e1
0459e1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-3
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0459e1
0459e1
* Thu Nov 09 2017 Petr Pisar <ppisar@redhat.com> - 1.8-2
0459e1
- Use upstream patch for POSIX mode
0459e1
- Silence compiler warnings
0459e1
0459e1
* Wed Nov 08 2017 Petr Pisar <ppisar@redhat.com> - 1.8-1
0459e1
- 1.8 bump
0459e1
- License changed from GPLv2+ to (GPLv3+ and GFDL)
0459e1
- Disable printing command failure in POSIX mode
0459e1
0459e1
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-54
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0459e1
0459e1
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-53
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0459e1
0459e1
* Mon Feb 06 2017 Petr Pisar <ppisar@redhat.com> - 1.7-52
0459e1
- Package COPYING file as a license text (bug #1418528)
0459e1
0459e1
* Wed Jan 11 2017 Petr Pisar <ppisar@redhat.com> - 1.7-51
0459e1
- Search clock_gettime() also in rt library (bug #1004416)
0459e1
0459e1
* Wed Jan 11 2017 Petr Pisar <ppisar@redhat.com> - 1.7-50
0459e1
- Fix measuring time when a clock experiences a jump (bug #1004416)
0459e1
0459e1
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-49
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0459e1
0459e1
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-48
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0459e1
0459e1
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.7-47
0459e1
- Rebuilt for Fedora 23 Change
0459e1
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
0459e1
0459e1
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-46
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0459e1
0459e1
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-45
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0459e1
0459e1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-44
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0459e1
0459e1
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-43
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0459e1
0459e1
* Thu Sep 06 2012 Petr Pisar <ppisar@redhat.com> - 1.7-42
0459e1
- Package AUTHORS and ChangeLog
0459e1
0459e1
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-41
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0459e1
0459e1
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-40
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0459e1
0459e1
* Wed May 11 2011 Petr Pisar <ppisar@redhat.com> - 1.7-39
0459e1
- Fix maximal RSS report (bug #702826)
0459e1
- Clean spec file
0459e1
- Recompute CPU usage at finer level (bug #527276)
0459e1
0459e1
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-38
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0459e1
0459e1
* Tue Aug 11 2009 Roman Rakus <rrakus@redhat.com> - 1.7-37
0459e1
- Don't print errors in post and preun sections (#515936)
0459e1
0459e1
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-36
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0459e1
0459e1
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-35
0459e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0459e1
0459e1
* Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.7-34
0459e1
- Fix Patch:/%%patch0 mismatch.
0459e1
  Resolves: #463067
0459e1
0459e1
* Tue Mar  4 2008 Roman Rakus <rrakus@redhat.cz> - 1.7-33
0459e1
- Added patch from JW (redhat@zacglen.com), less nonverbose output
0459e1
0459e1
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.7-32
0459e1
- Autorebuild for GCC 4.3
0459e1
0459e1
* Tue Jan 08 2008 Florian La Roche <laroche@redhat.com> - 1.7-31
0459e1
- update url/license tags
0459e1
0459e1
* Tue Aug 21 2007 Florian La Roche <laroche@redhat.com> - 1.7-30
0459e1
- rebuild
0459e1
0459e1
* Tue Feb 27 2007 Karsten Hopp <karsten@redhat.com> 1.7-29
0459e1
- remove trailing dot from summary
0459e1
- replace tabs with spaces
0459e1
- replace PreReq with Requires(post)/Requires(preun)
0459e1
- include license file in %%doc
0459e1
- add smp flags
0459e1
- use make install DESTDIR=
0459e1
0459e1
* Mon Jan 22 2007 Florian La Roche <laroche@redhat.com>
0459e1
- add dist tag
0459e1
- fix rhbz#223720
0459e1
0459e1
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.7-27.2.2
0459e1
- rebuild
0459e1
0459e1
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.7-27.2.1
0459e1
- bump again for double-long bug on ppc(64)
0459e1
0459e1
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.7-27.2
0459e1
- rebuilt for new gcc4.1 snapshot and glibc changes
0459e1
0459e1
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
0459e1
- rebuilt
0459e1
0459e1
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 1.7-27
0459e1
- build with gcc-4
0459e1
0459e1
* Wed Feb 09 2005 Karsten Hopp <karsten@redhat.de> 1.7-26
0459e1
- update source URL
0459e1
- rebuilt
0459e1
0459e1
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
0459e1
- rebuilt
0459e1
0459e1
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
0459e1
- rebuilt
0459e1
0459e1
* Tue Jun 17 2003 Florian La Roche <Florian.LaRoche@redhat.de>
0459e1
- rebuild
0459e1
0459e1
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
0459e1
- rebuilt
0459e1
0459e1
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
0459e1
- rebuilt
0459e1
0459e1
* Tue Nov 19 2002 Tim Powers <timp@redhat.com>
0459e1
- rebuild on all arches
0459e1
0459e1
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
0459e1
- automated rebuild
0459e1
0459e1
* Wed Jun 19 2002 Florian La Roche <Florian.LaRoche@redhat.de>
0459e1
- do not strip apps, do not compress info page
0459e1
0459e1
* Thu May 23 2002 Tim Powers <timp@redhat.com>
0459e1
- automated rebuild
0459e1
0459e1
* Mon Feb 25 2002 Elliot Lee <sopwith@redhat.com>
0459e1
- Remove HAVE_WAIT3 hack, tried to replace it with a requirement for an 
0459e1
autoconf with the fixed test, didn't work, put in another less-bad hack 
0459e1
instead.
0459e1
0459e1
* Wed Dec 05 2001 Tom Tromey <tromey@redhat.com>
0459e1
- Bump release, force HAVE_WAIT3 to be defined at build time
0459e1
0459e1
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
0459e1
- Bump release + rebuild.
0459e1
0459e1
* Wed Jan 31 2001 Preston Brown <pbrown@redhat.com>
0459e1
- prereq install-info (#24715)
0459e1
0459e1
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
0459e1
- automatic rebuild
0459e1
0459e1
* Thu Jun 29 2000 Preston Brown <pbrown@redhat.com>
0459e1
- using / as the file manifesto has weird results.
0459e1
0459e1
* Sun Jun  4 2000 Jeff Johnson <jbj@redhat.com>
0459e1
- FHS packaging.
0459e1
0459e1
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
0459e1
- auto rebuild in the new build environment (release 9)
0459e1
0459e1
* Mon Aug 10 1998 Erik Troan <ewt@redhat.com>
0459e1
- buildrooted and defattr'd
0459e1
0459e1
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
0459e1
- translations modified for de, fr, tr
0459e1
0459e1
* Mon Oct 27 1997 Cristian Gafton <gafton@redhat.com>
0459e1
- fixed info handling
0459e1
0459e1
* Thu Oct 23 1997 Cristian Gafton <gafton@redhat.com>
0459e1
- updated the spec file; added info file handling
0459e1
0459e1
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
0459e1
- built against glibc