[nspluginwrapper/f16] Fixed plugin-config help

Martin Stransky stransky at fedoraproject.org
Thu Dec 13 14:11:55 UTC 2012


commit 910556e6767d177e2facc4bf2f77024074739b29
Author: Martin Stransky <stransky at redhat.com>
Date:   Thu Dec 13 15:11:46 2012 +0100

    Fixed plugin-config help

 nspluginwrapper.spec     |    5 ++++-
 plugin-config-help.patch |   25 +++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletions(-)
---
diff --git a/nspluginwrapper.spec b/nspluginwrapper.spec
index 212facf..0572c5b 100644
--- a/nspluginwrapper.spec
+++ b/nspluginwrapper.spec
@@ -85,7 +85,7 @@
 Summary:	A compatibility layer for Netscape 4 plugins
 Name:		nspluginwrapper
 Version:	1.4.4
-Release:	14%{?dist}
+Release:	15%{?dist}
 License:	GPLv2+
 Group:		Applications/Internet
 Url:		http://gwenole.beauchesne.info/projects/nspluginwrapper/
@@ -108,6 +108,7 @@ Patch102:	plugin-config-print.patch
 Patch103:	plugin-config-non-native.patch
 Patch104:	plugin-config-time-check.patch
 Patch105:	plugin-config-dlopen.patch
+Patch106:	plugin-config-help.patch
 
 Provides:	%{name} = %{version}-%{release}
 Requires:	mozilla-filesystem
@@ -148,6 +149,7 @@ pushd %plugin_config_name
 %patch103 -p2 -b .non-native
 %patch104 -p2 -b .time
 %patch105 -p2 -b .dlopen
+%patch106 -p2 -b .help
 popd
 
 %build
@@ -267,6 +269,7 @@ fi;
 %changelog
 * Thu Dec 13 2012 Martin Stransky <stransky at redhat.com> 1.4.4-14
 - Fixed bug #870108 - plugin-config should not call dlopen()
+- Fixed plugin-config help
 
 * Mon Aug 13 2012 Martin Stransky <stransky at redhat.com> 1.4.4-11
 - Fixed bug #841798 - don't wrap plugins with the same arch
diff --git a/plugin-config-help.patch b/plugin-config-help.patch
new file mode 100644
index 0000000..491af4f
--- /dev/null
+++ b/plugin-config-help.patch
@@ -0,0 +1,25 @@
+--- nspluginwrapper-1.4.4/plugin-config-1.9/src/plugin-config.c	2012-12-13 09:24:27.988306638 +0100
++++ nspluginwrapper-1.4.4/plugin-config-1.9/src/plugin-config.c.help	2012-12-13 09:25:23.015335592 +0100
+@@ -889,11 +889,11 @@ to \n\
+                                                                           \n\
+ Usage:                                                                    \n\
+                                                                           \n\
+-  plugin-setup  [options]                                                 \n\
++  plugin-config  [options]                                                \n\
+                                                                           \n\
+ Options:                                                                  \n\
+                                                                           \n\
+-  -i  --install Install/wrap all availabile plug-ins                      \n\
++  -i  --install Install/wrap all available plug-ins                       \n\
+   -r  --remove  Remove all installed plug-ins                             \n\
+                                                                           \n\
+   -l  --list    List all installed plug-ins                               \n\
+@@ -908,7 +908,7 @@ Options:
+   -v  --verbose Verbose mode                                              \n\
+   -h  --help    This help                                                 \n\
+                                                                           \n\
+-  If it is run without any command line argument, --check is used.        \n\\n",
++  If it is run without any command line argument, --check is used.        \n\n",
+   NPW_PLUGIN_DIR_32,NPW_PLUGIN_DIR_64,
+   NPW_PLUGIN_DIR_32_WRAPPED,NPW_PLUGIN_DIR_64_WRAPPED );
+   


More information about the scm-commits mailing list