From a5e4b16177528f6c809fae2fda016501eebe3038 Mon Sep 17 00:00:00 2001 From: Peter Schiffer Date: Tue, 18 Sep 2012 14:07:08 +0200 Subject: [PATCH] - update zdump(8) man page to match current zdump usage (#517309) --- man-pages-3.42-zdump.patch | 46 ++++++++++++++++++++++++++++++++++++++ man-pages.spec | 6 ++++- 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 man-pages-3.42-zdump.patch diff --git a/man-pages-3.42-zdump.patch b/man-pages-3.42-zdump.patch new file mode 100644 index 0000000..8d6109b --- /dev/null +++ b/man-pages-3.42-zdump.patch @@ -0,0 +1,46 @@ +diff -ur man-pages-3.42.orig/man8/zdump.8 man-pages-3.42/man8/zdump.8 +--- man-pages-3.42.orig/man8/zdump.8 2012-08-14 00:39:40.000000000 +0200 ++++ man-pages-3.42/man8/zdump.8 2012-09-18 13:21:47.745750940 +0200 +@@ -6,10 +6,14 @@ + .SH SYNOPSIS + .B zdump + [ ++.B \-\-version ++] [ ++.B \-\-help ++] [ + .B \-v + ] [ + .B \-c +-cutoffyear ] [ zonename ... ] ++[loyear,]hiyear ] [ zonename ... ] + .SH DESCRIPTION + .I Zdump + prints the current time in each +@@ -18,6 +22,12 @@ + .PP + These options are available: + .TP ++.B \-\-version ++Output version information and exit. ++.TP ++.B \-\-help ++Output short usage and exit. ++.TP + .B \-v + For each + .I zonename +@@ -34,8 +44,11 @@ + .B isdst=0 + otherwise. + .TP +-.BI "\-c " cutoffyear +-Cut off the verbose output near the start of the given year. ++.BI "\-c " [loyear,]hiyear ++Cut off the verbose output near the start of the given year(s). ++The output still includes the lowest possible time value ++and one day after it, and the highest possible time value ++preceded by the time value one day before it. + .SH "SEE ALSO" + .BR tzfile (5), + .BR zic (8) diff --git a/man-pages.spec b/man-pages.spec index 7d12d82..59cd63d 100644 --- a/man-pages.spec +++ b/man-pages.spec @@ -61,6 +61,8 @@ Patch53: man-pages-3.42-getdents.patch Patch54: man-pages-3.42-close.patch # resolves: #497197 Patch55: man-pages-3.42-proc-file-nr.patch +# resolves: #517309 +Patch56: man-pages-3.42-zdump.patch Autoreq: false @@ -98,6 +100,7 @@ Documentation Project (LDP). %patch53 -p1 %patch54 -p1 %patch55 -p1 +%patch56 -p1 ## Remove man pages we are not going to use ## @@ -159,7 +162,7 @@ cd .. %lang(en) %{_mandir}/en/man*/* %changelog -* Thu Sep 13 2012 Peter Schiffer - 3.42-1 +* Tue Sep 18 2012 Peter Schiffer - 3.42-1 - resolves: #847941 update to 3.42 - updated additional man pages @@ -178,6 +181,7 @@ cd .. - removed man-pages-3.22-sched_setaffinity.patch because the problem it describes was fixed in the kernel. see #533811 for more info - document why to use shutdown() before close() when dealing with sockets on close(2) man page (#650985) - update description of /proc/sys/fs/file-nr file in proc(5) man page (#497197) +- update zdump(8) man page to match current zdump usage (#517309) * Thu Jul 19 2012 Fedora Release Engineering - 3.41-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild