e4e27db9a1
- 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 <rightop:...> 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
70 lines
2.1 KiB
RPMSpec
70 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package perl-Parse-RecDescent
|
|
#
|
|
# 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
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
Name: perl-Parse-RecDescent
|
|
Version: 1.967001
|
|
Release: 0
|
|
%define cpan_name Parse-RecDescent
|
|
Summary: Generate Recursive-Descent Parsers
|
|
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: Parse-RecDescent-1.965001.patch
|
|
BuildRequires: perl
|
|
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.
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
%patch0 -p1
|
|
|
|
%build
|
|
perl Build.PL installdirs=vendor optimize="%{optflags}"
|
|
./Build build flags=%{?_smp_mflags}
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%install
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
%perl_gen_filelist
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes README
|
|
|
|
%changelog
|