diff --git a/SOURCES/mt-st-man-page-updates-1_bz948457.patch b/SOURCES/mt-st-man-page-updates-1_bz948457.patch new file mode 100644 index 0000000..2ffe865 --- /dev/null +++ b/SOURCES/mt-st-man-page-updates-1_bz948457.patch @@ -0,0 +1,63 @@ +From 78c0868407b59bbfdd1301fe5c1b57831b53c26e Mon Sep 17 00:00:00 2001 +From: Jan Chaloupka +Date: Thu, 21 Aug 2014 12:46:44 +0200 +Subject: [PATCH] mt missing options section + +--- + mt.1 | 33 ++++++++++++++++++--------------- + 1 file changed, 18 insertions(+), 15 deletions(-) + +diff --git a/mt.1.man_page_upd1 b/mt.1 +index 8ff5b63..7dccdee 100644 +--- a/mt.1.man_page_upd1 ++++ b/mt.1 +@@ -13,21 +13,7 @@ performs the given + which must be one of the tape operations listed below, on a tape + drive. The commands can also be listed by running the program with the + .I \-h +-option. The version of mt is printed with the +-.I \-v +-or +-.I \-\-version +-option. The path of the tape device on which to operate can be given with +-the +-.I \-f +-or +-.I \-t +-option. If neither of those options is given, and the environment +-variable +-.B TAPE +-is set, it is used. Otherwise, a default device defined in the file +-.I /usr/include/sys/mtio.h +-is used. ++option. + .PP + Some operations optionally take an argument or repeat count, which can be given + after the operation name and defaults to 1. The postfix +@@ -275,6 +261,23 @@ set the cleaning request interpretation parameters. + exits with a status of 0 if the operation succeeded, 1 if the + operation or device name given was invalid, or 2 if the operation + failed. ++.SH OPTIONS ++.TP ++.B \-h, \-\-help ++Print a usage message on standard output and exit successfully. ++.TP ++.B \-v, \-\-version ++Print version of mt. ++.TP ++.B \-f, \-t ++The path of the tape device on which to operate. ++If neither of those options is given, ++and the environment variable ++.B TAPE ++is set, it is used. ++Otherwise, a default device defined in the file ++.I /usr/include/sys/mtio.h ++is used. + .SH AUTHOR + The program is written by Kai Makisara . + .SH COPYRIGHT +-- +1.9.3 + diff --git a/SPECS/mt-st.spec b/SPECS/mt-st.spec index c28661a..2917b09 100644 --- a/SPECS/mt-st.spec +++ b/SPECS/mt-st.spec @@ -1,7 +1,7 @@ Summary: Tool for controlling tape drives Name: mt-st Version: 1.1 -Release: 13%{?dist} +Release: 14%{?dist} License: GPL+ Group: Applications/System URL: ftp://ftp.ibiblio.org/pub/linux/system/backup @@ -14,6 +14,7 @@ Patch3: mt-st-0.9b-manfix.patch Patch4: mt-st-1.1-mtio.patch # https://bugzilla.redhat.com/show_bug.cgi?id=948457 Patch5: mt-st-1.1-options.patch +Patch6: mt-st-man-page-updates-1_bz948457.patch BuildRequires: systemd Requires(post): systemd Requires(preun): systemd @@ -35,6 +36,7 @@ Install mt-st if you need a tool to manage tape drives. %patch3 -p1 -b .manfix %patch4 -p1 -b .mtio %patch5 -p1 -b .options +%patch6 -p1 -b .man_page_upd1 # fix encoding f=README.stinit @@ -71,6 +73,9 @@ install -D -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/stinit.service %changelog +* Tue Sep 30 2014 David Sommerseth - 1.1-14 +- Updated man page (#948457) + * Fri Jan 24 2014 Daniel Mach - 1.1-13 - Mass rebuild 2014-01-24