diff --git a/Parse-RecDescent-1.965001.diff b/Parse-RecDescent-1.965001.diff deleted file mode 100644 index 5f4eb41..0000000 --- a/Parse-RecDescent-1.965001.diff +++ /dev/null @@ -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; diff --git a/perl-Parse-RecDescent.changes b/perl-Parse-RecDescent.changes index 261cb61..8adf5e1 100644 --- a/perl-Parse-RecDescent.changes +++ b/perl-Parse-RecDescent.changes @@ -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 diff --git a/perl-Parse-RecDescent.spec b/perl-Parse-RecDescent.spec index 23cc3d0..64932a0 100644 --- a/perl-Parse-RecDescent.spec +++ b/perl-Parse-RecDescent.spec @@ -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 %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