[perl-Wx] 0.9923, comment out pass_through option to resolve bz1188541

Tom Callaway spot at fedoraproject.org
Wed Feb 4 16:49:45 UTC 2015


commit fda181acc8f900c8d543992113519690267923dc
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Wed Feb 4 11:49:33 2015 -0500

    0.9923, comment out pass_through option to resolve bz1188541

 .gitignore                                       |    1 +
 perl-Wx-0.9923-no-Getopt-Long-pass_through.patch |   12 ++++++++++++
 perl-Wx.spec                                     |   10 ++++++++--
 sources                                          |    2 +-
 4 files changed, 22 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 65cf2fc..67f84bc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@ Wx-0.92.tar.gz
 /Wx-0.9918.tar.gz
 /Wx-0.9921.tar.gz
 /Wx-0.9922.tar.gz
+/Wx-0.9923.tar.gz
diff --git a/perl-Wx-0.9923-no-Getopt-Long-pass_through.patch b/perl-Wx-0.9923-no-Getopt-Long-pass_through.patch
new file mode 100644
index 0000000..315b365
--- /dev/null
+++ b/perl-Wx-0.9923-no-Getopt-Long-pass_through.patch
@@ -0,0 +1,12 @@
+diff -up Wx-0.9923/build/Wx/build/Options.pm.old Wx-0.9923/build/Wx/build/Options.pm
+--- Wx-0.9923/build/Wx/build/Options.pm.old	2015-02-04 11:44:25.755694877 -0500
++++ Wx-0.9923/build/Wx/build/Options.pm	2015-02-04 11:44:29.562671786 -0500
+@@ -11,7 +11,7 @@ Wx::build::Options - retrieve wxWidgets/
+ =cut
+ 
+ use Getopt::Long;
+-Getopt::Long::Configure( 'pass_through' );
++# Getopt::Long::Configure( 'pass_through' );
+ 
+ my $help         = 0;
+ my $mksymlinks   = 0;
diff --git a/perl-Wx.spec b/perl-Wx.spec
index 1730355..99d93c3 100644
--- a/perl-Wx.spec
+++ b/perl-Wx.spec
@@ -11,13 +11,14 @@
 # cat provides.txt | uniq | sort -n
 
 Name:           perl-Wx
-Version:        0.9922
-Release:        4%{?dist}
+Version:        0.9923
+Release:        1%{?dist}
 Summary:        Interface to the wxWidgets cross-platform GUI toolkit
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Wx/
 Source0:        http://search.cpan.org/CPAN/authors/id/M/MD/MDOOTSON/Wx-%{version}.tar.gz
+Patch0:		perl-Wx-0.9923-no-Getopt-Long-pass_through.patch
 BuildRequires:  wxGTK-devel
 BuildRequires:  perl(Alien::wxWidgets) >= 0.25
 BuildRequires:  perl(Data::Dumper)
@@ -674,6 +675,7 @@ you can download it from http://wxperl.sourceforge.net/.
 
 %prep
 %setup -q -n Wx-%{version}
+%patch0 -p1 -b .getoptlongfix
 
 chmod -c a-x README.txt docs/todo.txt samples/*/*.pl
 find . -type f -name "*.pm" -o -name "*.h" -o -name "*.cpp" |
@@ -717,6 +719,10 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 %{_mandir}/man3/*.3pm*
 
 %changelog
+* Wed Feb  4 2015 Tom Callaway <spot at fedoraproject.org> - 0.9923-1
+- update to 0.9923
+- comment out pass_through option to Getopt-Long (not valid with <>)
+
 * Thu Aug 28 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.9922-4
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index ecae23c..2754aac 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-672a97d618ae64814bfd3572187ab929  Wx-0.9922.tar.gz
+16f203d0e3bf9ecc7f830f10bf165c5e  Wx-0.9923.tar.gz


More information about the scm-commits mailing list