From e4e27db9a19ae6c633d8e608cab0dffd7057ab808eccd84d519037fb472dfa44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=C4=9Bzslav=20=C4=8C=C3=AD=C5=BEek?= Date: Mon, 30 Jan 2012 09:45:58 +0000 Subject: [PATCH] - added Test::Warn to BuildRequires - update to 1.967001 * 1.966_000 Mon Jun 27 08:32:50 2011 - Patched unnamed subrules, so that they actual fail when not correctly specified (thanks Evgeniy!) - Added skip tests (thanks Flavio) - Added doc patch to make $skip semantics clearer (thanks Flavio!) - Fixed POD description of semantics (thanks Dirk!) * 1.966_001 Mon Nov 14 10:34:52 2011 - Applied fix to restore skipped prefixes on match failure (thanks Jeremy!) - Removed formats to eliminate problems with filehandle duplication in forked environments * 1.966_002 Sun Jan 22 19:08:37 2012 - *** NON-BACKWARDS COMPATIBLE CHANGE! *** Change the caches for $prevline and $thisline to be local to the parser, rather than lexical vars in Parse::RecDescent. This prevents previously generated parsers from interfering with the line counts of later parsers. - removed trailing whitespace from all member files (cosmetic) - new tests, updated MANIFEST - Added Jeremy Braun as an author and current maintainer - update file permissions - fixed a few broken links in the pod * 1.967001 Sat Jan 28 20:54:48 2012 - Addressed RT.cpan.org #28314: regex modifiers for tokens not honored during regex syntax check. (Thanks SADAHIRO!) - Fixed some POD typos - Added message on how to turn off "default" hint value in the default hint value ($::RD_HINT = 0). RT.cpan.org # #4898. OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Parse-RecDescent?expand=0&rev=31 --- Parse-RecDescent-1.965001.tar.gz | 3 -- Parse-RecDescent-1.967001.tar.gz | 3 ++ perl-Parse-RecDescent.changes | 47 ++++++++++++++++++++++++++++++++ perl-Parse-RecDescent.spec | 30 ++++++++------------ 4 files changed, 62 insertions(+), 21 deletions(-) delete mode 100644 Parse-RecDescent-1.965001.tar.gz create mode 100644 Parse-RecDescent-1.967001.tar.gz diff --git a/Parse-RecDescent-1.965001.tar.gz b/Parse-RecDescent-1.965001.tar.gz deleted file mode 100644 index 721855b..0000000 --- a/Parse-RecDescent-1.965001.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:00fa63039b062452d675712e58f0311d7323377af3cdd0fdccb1ecfe64b68d64 -size 154813 diff --git a/Parse-RecDescent-1.967001.tar.gz b/Parse-RecDescent-1.967001.tar.gz new file mode 100644 index 0000000..29dd7ff --- /dev/null +++ b/Parse-RecDescent-1.967001.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cbd74586f7687c47a03d6dc9aac8af02fbc3a7bfa024de7550f9258bfa246e24 +size 166529 diff --git a/perl-Parse-RecDescent.changes b/perl-Parse-RecDescent.changes index 85d8d7b..5535fee 100644 --- a/perl-Parse-RecDescent.changes +++ b/perl-Parse-RecDescent.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Mon Jan 30 02:34:17 UTC 2012 - vcizek@suse.com + +- added Test::Warn to BuildRequires +- update to 1.967001 + * 1.966_000 Mon Jun 27 08:32:50 2011 + - Patched unnamed subrules, so that they actual fail when + not correctly specified (thanks Evgeniy!) + - Added skip tests (thanks Flavio) + - Added doc patch to make $skip semantics clearer (thanks Flavio!) + - Fixed POD description of semantics (thanks Dirk!) + * 1.966_001 Mon Nov 14 10:34:52 2011 + - Applied fix to restore skipped prefixes on match failure + (thanks Jeremy!) + - Removed formats to eliminate problems with filehandle duplication + in forked environments + * 1.966_002 Sun Jan 22 19:08:37 2012 + - *** NON-BACKWARDS COMPATIBLE CHANGE! *** Change the caches for + $prevline and $thisline to be local to the parser, rather than + lexical vars in Parse::RecDescent. This prevents previously + generated parsers from interfering with the line counts of + later parsers. + - removed trailing whitespace from all member files (cosmetic) + - new tests, updated MANIFEST + - Added Jeremy Braun as an author and current maintainer + - update file permissions + - fixed a few broken links in the pod + * 1.967001 Sat Jan 28 20:54:48 2012 + - Addressed RT.cpan.org #28314: regex modifiers for tokens not + honored during regex syntax check. (Thanks SADAHIRO!) + - Fixed some POD typos + - Added message on how to turn off "default" hint value in the + default hint value ($::RD_HINT = 0). RT.cpan.org # #4898. + - Modified _write_ERROR to call formline twice to avoid repeated + $errorprefix. + - Collected match tracing messages into a common function which + takes into account positive/negative lookahead. + - Addressed RT.cpan.org #74258: RD_AUTOSTUB does not work with + precompiled parsers. (Thanks Yuri!) + - Special-case $::RD_AUTOSTUB eq 1. $::RD_AUTOSTUB's value is + ignored, and the unknown subrule 'rule' has a production + "rule: 'rule'", rather than "rule: '1'". + - Change Parse::RecDescent::new to call $self->Replace with only + the grammar as an argument. That prevents the $compiling + argument to new() from being incorrectly interpreted as + $isimplicit. + ------------------------------------------------------------------- Fri Nov 18 11:08:16 UTC 2011 - coolo@suse.com diff --git a/perl-Parse-RecDescent.spec b/perl-Parse-RecDescent.spec index 298a2d4..ab99c82 100644 --- a/perl-Parse-RecDescent.spec +++ b/perl-Parse-RecDescent.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Parse-RecDescent # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,58 +15,52 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - - Name: perl-Parse-RecDescent +Version: 1.967001 +Release: 0 %define cpan_name Parse-RecDescent Summary: Generate Recursive-Descent Parsers -Version: 1.965001 -Release: 4 License: GPL-1.0+ or Artistic-1.0 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.gz # bnc#653512 -Patch0: %{cpan_name}-%{version}.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} -BuildArch: noarch +Patch0: Parse-RecDescent-1.965001.patch BuildRequires: perl -BuildRequires: perl(Module::Build) BuildRequires: perl-macros +BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Warn) BuildRequires: perl(Text::Balanced) BuildRequires: perl(version) Requires: perl(Text::Balanced) Requires: perl(version) +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%{perl_requires} %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} %patch0 -p1 %build -%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" +perl Build.PL installdirs=vendor optimize="%{optflags}" ./Build build flags=%{?_smp_mflags} %check ./Build test %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %clean -%{__rm} -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %files -f %{name}.files %defattr(-,root,root,-)