From 741c8e253d2181731266ff0e2c2e439d0062c0e676d3a867b804503087b6a222 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Thu, 18 Nov 2010 10:17:09 +0000 Subject: [PATCH] readd patch, bnc#653512 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Parse-RecDescent?expand=0&rev=20 --- Parse-RecDescent-1.965001.patch | 11 +++++++++++ perl-Parse-RecDescent.changes | 6 ++++++ perl-Parse-RecDescent.spec | 3 +++ 3 files changed, 20 insertions(+) create mode 100644 Parse-RecDescent-1.965001.patch diff --git a/Parse-RecDescent-1.965001.patch b/Parse-RecDescent-1.965001.patch new file mode 100644 index 0000000..68850fa --- /dev/null +++ b/Parse-RecDescent-1.965001.patch @@ -0,0 +1,11 @@ +diff -ruN Parse-RecDescent-1.965001-orig/lib/Parse/RecDescent.pm Parse-RecDescent-1.965001/lib/Parse/RecDescent.pm +--- Parse-RecDescent-1.965001-orig/lib/Parse/RecDescent.pm 2010-04-05 00:00:10.000000000 +0200 ++++ Parse-RecDescent-1.965001/lib/Parse/RecDescent.pm 2010-10-19 21:29:55.000000000 +0200 +@@ -2808,6 +2808,7 @@ + sub _code($) + { + my $self = shift; ++ $skip = "" if(! defined $skip); + my $code = qq{ + package $self->{namespace}; + use strict; diff --git a/perl-Parse-RecDescent.changes b/perl-Parse-RecDescent.changes index 8adf5e1..21f2d4e 100644 --- a/perl-Parse-RecDescent.changes +++ b/perl-Parse-RecDescent.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 18 10:09:27 UTC 2010 - chris@computersalat.de + +- readd not obsolete patch (bnc#653512) + o patch was removed, cause of no longer needed for pass tests + ------------------------------------------------------------------- Tue Oct 19 19:43:18 UTC 2010 - chris@computersalat.de diff --git a/perl-Parse-RecDescent.spec b/perl-Parse-RecDescent.spec index 15d61ba..12a776a 100644 --- a/perl-Parse-RecDescent.spec +++ b/perl-Parse-RecDescent.spec @@ -28,6 +28,8 @@ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Parse-RecDescent/ #Source: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.bz2 +# bnc#653512 +Patch0: %{cpan_name}-%{version}.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: perl @@ -52,6 +54,7 @@ Authors: %prep %setup -q -n %{cpan_name}-%{version} +%patch0 -p1 %build %{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"