Blame SPECS/time.spec

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