Update to 1.967012

- New upstream release 1.967012
  - Base the standalone precompiled parser's runtime name on the parser's
    class, rather than use the fixed "Parse::RecDescent::_Runtime"; this
    prevents "already defined" warnings when two standalone precompiled
    parsers are used
  - Add support for allowing precompiled parsers to share a common runtime via
    the Precompile({-runtime_class}) option and the PrecompiledRuntime()
    function
  - Warn on creation of Precompiled parsers that depend on Parse::RecDescent
  - NON-BACKWARDS COMPATIBLE CHANGE: Change the global <skip:> directive to
    use eval similarly to the other <skip:> directives, rather than being
    single-quoted in the resulting parser
  - Correct some typos in the documentation (CPAN RT#87185)
  - Sort hash keys and rulenames when generating code; this keeps the output
    text for a given input text the same, reducing differences in automated
    builds (CPAN RT#102160)
  - Precompiled parsers now document which $Parse::RecDescent::VERSION was
    used to generate them (CPAN RT#77001)
- Switch to ExtUtils::MakeMaker flow
epel9
Paul Howarth 10 years ago
parent 2e85ffc11c
commit 1fe7a135ae

@ -1,6 +1,6 @@
Name: perl-Parse-RecDescent
Version: 1.967009
Release: 11%{?dist}
Version: 1.967012
Release: 1%{?dist}
Summary: Generate Recursive-Descent Parsers
Group: Development/Libraries
License: (GPL+ or Artistic) and (GPLv2+ or Artistic)
@ -9,22 +9,27 @@ URL: http://search.cpan.org/dist/Parse-RecDescent/
Source0: http://search.cpan.org/CPAN/authors/id/J/JT/JTBRAUN/Parse-RecDescent-%{version}.tar.gz
Patch0: Parse-RecDescent-1.967002-utf8.patch
BuildArch: noarch
BuildRequires: perl(Module::Build)
# Build:
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.58
BuildRequires: perl(warnings)
# Run-time
BuildRequires: perl(Carp)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(strict)
BuildRequires: perl(Text::Balanced) >= 1.95
BuildRequires: perl(vars)
# Tests:
BuildRequires: perl(Test::More)
# Optional tests:
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Warn)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Text::Balanced) >= 1.95
%{?perl_default_filter}
# Remove under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Text::Balanced\\)$
Requires: perl(Data::Dumper)
%description
Parse::RecDescent incrementally generates top-down recursive-descent
@ -56,22 +61,44 @@ chmod -c a-x demo/* tutorial/*
perl -pi -e 's|^#!\s?/usr/local/bin/perl\b|#!/usr/bin/perl|' demo/*
%build
perl Build.PL installdirs=vendor
./Build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
./Build install destdir=%{buildroot} create_packlist=0
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}
%check
./Build test
make test
%files
%doc Changes README ToDo demo/ tutorial/
%{perl_vendorlib}/Parse/
%{_mandir}/man3/Parse::RecDescent.3pm*
%{_mandir}/man3/Parse::RecDescent.3*
%changelog
* Mon Sep 14 2015 Paul Howarth <paul@city-fan.org> - 1.967012-1
- Update to 1.967012
- Base the standalone precompiled parser's runtime name on the parser's
class, rather than use the fixed "Parse::RecDescent::_Runtime"; this
prevents "already defined" warnings when two standalone precompiled
parsers are used
- Add support for allowing precompiled parsers to share a common runtime via
the Precompile({-runtime_class}) option and the PrecompiledRuntime()
function
- Warn on creation of Precompiled parsers that depend on Parse::RecDescent
- NON-BACKWARDS COMPATIBLE CHANGE: Change the global <skip:> directive to
use eval similarly to the other <skip:> directives, rather than being
single-quoted in the resulting parser
- Correct some typos in the documentation (CPAN RT#87185)
- Sort hash keys and rulenames when generating code; this keeps the output
text for a given input text the same, reducing differences in automated
builds (CPAN RT#102160)
- Precompiled parsers now document which $Parse::RecDescent::VERSION was
used to generate them (CPAN RT#77001)
- Switch to ExtUtils::MakeMaker flow
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.967009-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

@ -1 +1 @@
6dab60d44451a9f57a261d1b5358753c Parse-RecDescent-1.967009.tar.gz
78f2f4beac8a326ff249627a67ae234f Parse-RecDescent-1.967012.tar.gz

Loading…
Cancel
Save