[perl-Getopt-GUI-Long] merge and add a patch

Wes Hardaker hardaker at fedoraproject.org
Mon Feb 10 17:34:56 UTC 2014


commit 42b8c53a77d27627c6147c6b2c36e5bd74480509
Author: Wes Hardaker <opensource at hardakers.net>
Date:   Mon Feb 10 09:35:27 2014 -0800

    merge and add a patch

 perl-Getopt-GUI-Long-ARGV-fix.patch |   13 +++++++++++++
 perl-Getopt-GUI-Long.spec           |    8 +++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/perl-Getopt-GUI-Long-ARGV-fix.patch b/perl-Getopt-GUI-Long-ARGV-fix.patch
new file mode 100644
index 0000000..86f53c2
--- /dev/null
+++ b/perl-Getopt-GUI-Long-ARGV-fix.patch
@@ -0,0 +1,13 @@
+Index: Long.pm
+===================================================================
+--- Long.pm	(revision 4734)
++++ Long.pm	(working copy)
+@@ -37,7 +37,7 @@
+   (
+    display_results =>
+    {
+-    title => "$ARGV Output",
++    title => (defined($ARGV) ? $ARGV : $0) . " Output",
+     questions =>
+     [
+      { type => 'paragraph',
diff --git a/perl-Getopt-GUI-Long.spec b/perl-Getopt-GUI-Long.spec
index 89c25fe..b8d5ecd 100644
--- a/perl-Getopt-GUI-Long.spec
+++ b/perl-Getopt-GUI-Long.spec
@@ -1,6 +1,6 @@
 Name:           perl-Getopt-GUI-Long
 Version:        0.91
-Release:        13%{?dist}
+Release:        14%{?dist}
 Summary:        A wrapper around Getopt::Long to provide a GUI to applications
 License:        GPL+ or Artistic 
 Group:          Development/Libraries
@@ -14,6 +14,7 @@ BuildRequires:  perl(Test::More)
 # (they're the best of the alternative choices available on linux)
 Requires:       perl(QWizard)
 Requires:       perl(Gtk2)
+Patch1:         perl-Getopt-GUI-Long-ARGV-fix.patch
 
 # neither are picked up automagically.
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -45,6 +46,8 @@ programmer needing to write usage() functions.
 %prep
 %setup -q -n Getopt-GUI-Long-%{version}
 
+%patch1 -p0 
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -73,6 +76,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Sat Feb 10 2014 Wes Hardaker <wjhns174 at hardakers.net> - 0.91-14
+- Fix ARGV warning
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.91-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list