SHA256
1
0
forked from pool/time

12 Commits

Author SHA256 Message Date
ea88fe7304 Accepting request 1275011 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1275011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/time?expand=0&rev=13
2025-05-07 17:14:29 +00:00
3d3882b03f - fix build with gcc15
+ time-gcc15.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/time?expand=0&rev=21
2025-05-06 18:19:29 +00:00
0169d94865 Accepting request 1255053 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1255053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/time?expand=0&rev=12
2025-03-24 12:25:07 +00:00
3f1faed004 - Use -std=gnu99 to avoid traps from C23 made default with GCC 15.
OBS-URL: https://build.opensuse.org/package/show/Base:System/time?expand=0&rev=19
2025-03-21 15:46:16 +00:00
c104eabb88 Accepting request 1153174 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1153174
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/time?expand=0&rev=11
2024-03-01 22:34:32 +00:00
42ad7139eb Accepting request 1093191 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1093191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/time?expand=0&rev=10
2023-06-17 20:19:57 +00:00
1e1f5c15f2 Accepting request 972908 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/972908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/time?expand=0&rev=9
2022-04-28 21:07:07 +00:00
d9db4e5686 Accepting request 586373 from Base:System
- time 1.9:
  * reports percent CPU usage for programs lasting less then 1s
  * "time -p" no longers adds the "Command exited with non-zero
    status" message (POSIX compliance)
- Use %license (boo#1082318)

OBS-URL: https://build.opensuse.org/request/show/586373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/time?expand=0&rev=8
2018-03-19 22:30:28 +00:00
cea2e1f154 Accepting request 543004 from Base:System
OBS-URL: https://build.opensuse.org/request/show/543004
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/time?expand=0&rev=7
2017-11-23 08:37:09 +00:00
Stephan Kulow
5e6afb5611 Accepting request 235884 from Base:System
- Add time.rpmlint suppressing the missing time man page warning. (forwarded request 235596 from sbrabec)

OBS-URL: https://build.opensuse.org/request/show/235884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/time?expand=0&rev=5
2014-06-16 19:43:18 +00:00
Stephan Kulow
dbdc3fddfa Accepting request 235111 from Base:System
- remove time.1 [bnc#878057] (forwarded request 234801 from pgajdos)

OBS-URL: https://build.opensuse.org/request/show/235111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/time?expand=0&rev=4
2014-05-23 13:00:35 +00:00
Tomáš Chvátal
2001c77c34 Accepting request 198737 from Base:System
- Sync patches with Debian and Fedora:
  * Add man page (time.1).
  * Less nonverbose output (time-fedora-verbose.patch).
  * Fix maximal RSS report
    (time-fedora-ru_maxrss-is-in-kilobytes-on-Linux.patch,
    bnc#836049, Redhat#702826).
  * Switch to microsecond accuracy if miliseconds arithmetic rounds
    to zero
    (time-fedora-Recompute-CPU-usage-at-microsecond-level.patch,
    Redhat#527276).
  * When time exits in a non-normal way, return 128 plus the number
    of the signal which caused time to stop or abort
    (time-debian-non-normal-exit.patch).
  * struct rusage and sys/resource.h portability fix
    (time-debian-rusage-portability.patch, Debian#144819).
  * Add -q,--quiet functionality
    (time-debian-quiet.patch, Debian#56853).
  * Update bug reporting address
    (time-debian-bug-address.patch, Debian#542469).
  * Modernize the configure.in file to current autoconf style
    (time-debian-configure.patch).
  * Add a directory entry to the info page
    (time-debian-info-direntry.patch).
- Fix FSF address (time-fsf-address.patch).
- Update Summary.
- Rename time-1.7.diff to time-alpha.patch.

... And cherry pick changelog entries relevant to time. (forwarded request 198137 from sbrabec)

OBS-URL: https://build.opensuse.org/request/show/198737
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/time?expand=0&rev=2
2013-09-13 12:44:03 +00:00
3 changed files with 29 additions and 2 deletions

13
time-gcc15.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: time-1.9/src/time.c
===================================================================
--- time-1.9.orig/src/time.c
+++ time-1.9/src/time.c
@@ -76,7 +76,7 @@ enum
/* A Pointer to a signal handler. */
-typedef RETSIGTYPE (*sighandler) ();
+typedef RETSIGTYPE (*sighandler) (int);
/* msec = milliseconds = 1/1,000 (1*10e-3) second.
usec = microseconds = 1/1,000,000 (1*10e-6) second. */

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Apr 30 13:17:22 UTC 2025 - pgajdos@suse.com
- fix build with gcc15
+ time-gcc15.patch
-------------------------------------------------------------------
Fri Mar 21 12:43:16 UTC 2025 - Richard Biener <rguenther@suse.com>
- Use -std=gnu99 to avoid traps from C23 made default with GCC 15.
-------------------------------------------------------------------
Mon Feb 26 14:48:17 UTC 2024 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package time
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -29,8 +29,10 @@ Source2: https://ftp.gnu.org/gnu/time/%{name}-%{version}.tar.gz.sig
Source3: https://savannah.gnu.org/people/viewgpg.php?user_id=94790#/%{name}.keyring
# PATCH-FIX-OPENSUSE disable-time-max-rss-test.patch bsc#1211092
Patch1: disable-time-max-rss-test.patch
# build with gcc15
Patch2: time-gcc15.patch
Requires(post): %{install_info_prereq}
Requires(preun):%{install_info_prereq}
Requires(preun): %{install_info_prereq}
%description
The "time" command runs another program, then displays information
@@ -42,6 +44,7 @@ while the program was running.
%ifarch ppc ppc64 ppc64le
%patch -P 1 -p1
%endif
%patch -P 2 -p1
%build
%configure