1
0

Accepting request 51091 from devel:languages:perl

Accepted submit request 51091 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/51091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Parse-RecDescent?expand=0&rev=14
This commit is contained in:
Ruediger Oertel 2010-10-20 13:20:31 +00:00 committed by Git OBS Bridge
commit 7909cec1d9
3 changed files with 33 additions and 29 deletions

View File

@ -1,12 +0,0 @@
Index: lib/Parse/RecDescent.pm
===================================================================
--- lib/Parse/RecDescent.pm.orig
+++ lib/Parse/RecDescent.pm
@@ -2808,6 +2808,7 @@ sub _check_grammar ($)
sub _code($)
{
my $self = shift;
+ $skip = "" if(! defined $skip);
my $code = qq{
package $self->{namespace};
use strict;

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Oct 19 19:43:18 UTC 2010 - chris@computersalat.de
- remove obsolete 1.965001 patch
-------------------------------------------------------------------
Wed Oct 13 22:56:35 UTC 2010 - chris@computersalat.de
- noarch pkg
- recreated by cpanspec 1.78
-------------------------------------------------------------------
Fri Jul 16 15:08:46 CEST 2010 - anicka@suse.cz

View File

@ -17,52 +17,57 @@
# norootforbuild
Name: perl-Parse-RecDescent
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Perl RecDescent Module
%define cpan_name Parse-RecDescent
Summary: Generate Recursive-Descent Parsers
Version: 1.965001
Release: 1
License: Artistic
Release: 2
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Url: http://cpan.org/modules/by-module/Parse/
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
Patch: %{cpan_name}-%{version}.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(Module::Build)
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Test::More)
BuildRequires: perl(Text::Balanced)
BuildRequires: perl(version)
Requires: perl = %{perl_version}
Requires: perl(Text::Balanced)
Requires: perl(version)
%description
RecDescent incrementally generates top-down recursive-descent text
parsers from simple yacc-like grammar specifications.
Authors:
--------
Damian Conway <damian@csse.monash.edu.au>
%prep
%setup -q -n %{cpan_name}-%{version}
%patch
%build
find -type f | xargs chmod 644
perl Makefile.PL
%{__make} %{?_smp_mflags}
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
./Build build flags=%{?_smp_mflags}
%check
%{__make} test
./Build test
%install
%perl_make_install
%perl_process_packlist
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root)
%defattr(-,root,root,-)
%doc Changes README
%changelog