[mt-st] - print all options in stinit's help (#948457)
Dan Horák
sharkcz at fedoraproject.org
Tue Jul 23 10:17:00 UTC 2013
commit 4178ae1c0691ac598e15205306fd4fea95c5d41e
Author: Dan Horák <dan at danny.cz>
Date: Tue Jul 23 12:16:48 2013 +0200
- print all options in stinit's help (#948457)
mt-st-1.1-options.patch | 12 ++++++++++++
mt-st.spec | 8 +++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/mt-st-1.1-options.patch b/mt-st-1.1-options.patch
new file mode 100644
index 0000000..cf856cd
--- /dev/null
+++ b/mt-st-1.1-options.patch
@@ -0,0 +1,12 @@
+diff -up mt-st-1.1/stinit.c.options mt-st-1.1/stinit.c
+--- mt-st-1.1/stinit.c.options 2013-07-23 11:55:33.000000000 +0200
++++ mt-st-1.1/stinit.c 2013-07-23 11:56:09.000000000 +0200
+@@ -889,7 +889,7 @@ define_tape(int tapeno, FILE *dbf, devde
+ usage(int retval)
+ {
+ fprintf(stderr,
+- "Usage: stinit [-h] [-v] [-f dbname] [-p] [drivename_or_number ...]\n");
++ "Usage: stinit [-h] [-v] [--version] [-f dbname] [-p] [-r] [drivename_or_number ...]\n");
+ exit(retval);
+ }
+
diff --git a/mt-st.spec b/mt-st.spec
index 1dac23e..927480c 100644
--- a/mt-st.spec
+++ b/mt-st.spec
@@ -1,7 +1,7 @@
Summary: Tool for controlling tape drives
Name: mt-st
Version: 1.1
-Release: 10%{?dist}
+Release: 11%{?dist}
License: GPL+
Group: Applications/System
URL: ftp://ftp.ibiblio.org/pub/linux/system/backup
@@ -12,6 +12,8 @@ Patch1: mt-st-1.1-SDLT.patch
Patch2: mt-st-0.7-config-files.patch
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
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
@@ -33,6 +35,7 @@ Install mt-st if you need a tool to manage tape drives.
%patch2 -p1 -b .configfiles
%patch3 -p1 -b .manfix
%patch4 -p1 -b .mtio
+%patch5 -p1 -b .options
# fix encoding
f=README.stinit
@@ -90,6 +93,9 @@ fi
%changelog
+* Tue Jul 23 2013 Dan Horák <dan[at]danny.cz> - 1.1-11
+- print all options in stinit's help (#948457)
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list