pghmcfc pushed to perl-Parse-RecDescent (master). "Update to 1.967012 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Sep 14 08:55:55 UTC 2015


From 1fe7a135ae6f4581b90aab9cf52c89e62652f7b0 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Mon, 14 Sep 2015 09:54:49 +0100
Subject: 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

diff --git a/perl-Parse-RecDescent.spec b/perl-Parse-RecDescent.spec
index a9d9dd0..4be587a 100644
--- a/perl-Parse-RecDescent.spec
+++ b/perl-Parse-RecDescent.spec
@@ -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 at 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 at lists.fedoraproject.org> - 1.967009-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 2c35f61..be9644c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6dab60d44451a9f57a261d1b5358753c  Parse-RecDescent-1.967009.tar.gz
+78f2f4beac8a326ff249627a67ae234f  Parse-RecDescent-1.967012.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Parse-RecDescent.git/commit/?h=master&id=1fe7a135ae6f4581b90aab9cf52c89e62652f7b0


More information about the perl-devel mailing list