forked from pool/perl-Parse-RecDescent
readd patch, bnc#653512
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Parse-RecDescent?expand=0&rev=20
This commit is contained in:
parent
bb78a6333b
commit
741c8e253d
11
Parse-RecDescent-1.965001.patch
Normal file
11
Parse-RecDescent-1.965001.patch
Normal file
@ -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;
|
@ -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
|
Tue Oct 19 19:43:18 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
@ -28,6 +28,8 @@ Group: Development/Libraries/Perl
|
|||||||
Url: http://search.cpan.org/dist/Parse-RecDescent/
|
Url: http://search.cpan.org/dist/Parse-RecDescent/
|
||||||
#Source: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-%{version}.tar.gz
|
#Source: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
|
# bnc#653512
|
||||||
|
Patch0: %{cpan_name}-%{version}.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@ -52,6 +54,7 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
|
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
|
||||||
|
Loading…
Reference in New Issue
Block a user