- print all options in stinit's help (#948457)
This commit is contained in:
parent
0bf74e9975
commit
4178ae1c06
12
mt-st-1.1-options.patch
Normal file
12
mt-st-1.1-options.patch
Normal file
@ -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);
|
||||
}
|
||||
|
||||
@ -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@lists.fedoraproject.org> - 1.1-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user