From ca6c5a8137610a466961beb271775b35cc233dfc Mon Sep 17 00:00:00 2001 From: Paul Howarth <p...@city-fan.org> Date: Sun, 11 Jun 2017 18:17:10 +0100 Subject: Update to 1.128 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
- New upstream release 1.128 Bug Fixes - PPI misparsing a module caused an incorrect "Must end with a recognizable true value"; this is fixed by upgrading to PPI 1.224 (GH#696, GH#607) - A test would fail under the upcoming Perl 5.26 that omits the current directory from @INC - Fixed an invalid test in the RequireBarewordsIncludes test (GH#751) - If an element contained blank lines then the source "%r" displayed for a violation was wrong (GH#702, GH#734) Dependencies - Perl::Critic now requires PPI 1.224; PPI is the underlying Perl parser on which Perl::Critic is built, and 1.224 introduces many parsing fixes such as: - Fixes for dot-in-@INC - Parse left side of => as bareword even if it looks like a keyword or op - $::x now works - Higher accuracy when deciding whether certain characters are operators or variable type casts (*&% etc.) - Subroutine attributes parsed correctly Performance Enhancements - Sped up BuiltinFunctions::ProhibitUselessTopic ~7% (GH#656) Documentation - Fixed incorrect explanation of capture variables in ProhibitCaptureWithoutTest - Fixed incorrect links - Fixed incorrect example for returning a sorted list - Fixed invalid POD (GH#735) - Updated docs on ProhibitYadaOperator (GH#662) - Removed all the references to the old mailing list and code repository at tigris.org (GH#757) - This release by PETDANCE → update source URL --- 62b12906.patch | 36 ------------------------------------ perl-Perl-Critic.spec | 47 ++++++++++++++++++++++++++++++++++++++--------- sources | 2 +- 3 files changed, 39 insertions(+), 46 deletions(-) delete mode 100644 62b12906.patch diff --git a/62b12906.patch b/62b12906.patch deleted file mode 100644 index 9c425a7..0000000 --- a/62b12906.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 62b12906e6d9afad570ec29716e3ef4d9bd1aa3f Mon Sep 17 00:00:00 2001 -From: Andy Lester <a...@petdance.com> -Date: Wed, 17 May 2017 23:05:50 -0500 -Subject: [PATCH] Use absolute paths so that lack of . in @INC should still - work. Also remove a comment about a now-deleted file. - ---- - t/07_perlcritic.t | 8 ++------ - 1 file changed, 2 insertions(+), 6 deletions(-) - -diff --git a/t/07_perlcritic.t b/t/07_perlcritic.t -index 37aa4a1d..a4a13350 100644 ---- a/t/07_perlcritic.t -+++ b/t/07_perlcritic.t -@@ -14,19 +14,15 @@ our $VERSION = '1.126'; - - #----------------------------------------------------------------------------- - --my $perlcritic = File::Spec->catfile( qw(blib script perlcritic) ); -+my $perlcritic = File::Spec->rel2abs( File::Spec->catfile( qw( blib script perlcritic ) ) ); - if (not -e $perlcritic) { -- $perlcritic = File::Spec->catfile( qw(bin perlcritic) ) -+ $perlcritic = File::Spec->rel2abs( File::Spec->catfile( qw( bin perlcritic ) ) ); - } - - require_ok($perlcritic); - - #----------------------------------------------------------------------------- - --# ensure we return true if this test is loaded by --# t/07_perlcritic.t_without_optional_dependencies.t --1; -- - # Local Variables: - # mode: cperl - # cperl-indent-level: 4 diff --git a/perl-Perl-Critic.spec b/perl-Perl-Critic.spec index db54a3a..0377f1b 100644 --- a/perl-Perl-Critic.spec +++ b/perl-Perl-Critic.spec @@ -1,11 +1,10 @@ Name: perl-Perl-Critic -Version: 1.126 -Release: 8%{?dist} +Version: 1.128 +Release: 1%{?dist} Summary: Critique Perl source code for best-practices License: GPL+ or Artistic URL: http://search.cpan.org/dist/Perl-Critic/ -Source0: http://search.cpan.org/CPAN/authors/id/T/TH/THALJEF/Perl-Critic-%{version}.tar.gz -Patch0: https://github.com/Perl-Critic/Perl-Critic/commit/62b12906.patch +Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Perl-Critic-%{version}.tar.gz BuildArch: noarch # Build process @@ -47,7 +46,7 @@ BuildRequires: perl(Pod::PlainText) BuildRequires: perl(Pod::Select) BuildRequires: perl(Pod::Spell) >= 1 BuildRequires: perl(Pod::Usage) -BuildRequires: perl(PPI) >= 1.220 +BuildRequires: perl(PPI) >= 1.224 BuildRequires: perl(PPIx::Regexp) >= 0.010 BuildRequires: perl(PPIx::Utilities::Node) BuildRequires: perl(PPIx::Utilities::Statement) >= 1.001 @@ -91,7 +90,7 @@ Requires: perl(File::HomeDir) Requires: perl(File::Which) Requires: perl(Module::Pluggable) >= 3.1 Requires: perl(Pod::Parser) -Requires: perl(PPI) >= 1.220 +Requires: perl(PPI) >= 1.224 Requires: perl(Term::ANSIColor) >= 2.02 %description @@ -119,9 +118,6 @@ of Perl code were mixed directly in the test script. That sucked. %prep %setup -q -n Perl-Critic-%{version} -# Fix t/07_perlcritic.t for @INC without '.' (GH#738) -%patch0 -p1 - # Drop exec bits from samples/docs to avoid dependency bloat find tools examples -type f -exec chmod -c -x {} ';' @@ -153,6 +149,39 @@ LC_ALL=en_US ./Build %{!?perl_bootstrap:author}test %{_mandir}/man3/Test::Perl::Critic::Policy.3* %changelog +* Sun Jun 11 2017 Paul Howarth <p...@city-fan.org> - 1.128-1 +- Update to 1.128 + Bug Fixes + - PPI misparsing a module caused an incorrect "Must end with a recognizable + true value"; this is fixed by upgrading to PPI 1.224 (GH#696, GH#607) + - A test would fail under the upcoming Perl 5.26 that omits the current + directory from @INC + - Fixed an invalid test in the RequireBarewordsIncludes test (GH#751) + - If an element contained blank lines then the source "%%r" displayed for a + violation was wrong (GH#702, GH#734) + Dependencies + - Perl::Critic now requires PPI 1.224; PPI is the underlying Perl parser on + which Perl::Critic is built, and 1.224 introduces many parsing fixes such + as: + - Fixes for dot-in-@INC + - Parse left side of => as bareword even if it looks like a keyword or op + - $::x now works + - Higher accuracy when deciding whether certain characters are operators or + variable type casts (*&%% etc.) + - Subroutine attributes parsed correctly + Performance Enhancements + - Sped up BuiltinFunctions::ProhibitUselessTopic ~7%% (GH#656) + Documentation + - Fixed incorrect explanation of capture variables in + ProhibitCaptureWithoutTest + - Fixed incorrect links + - Fixed incorrect example for returning a sorted list + - Fixed invalid POD (GH#735) + - Updated docs on ProhibitYadaOperator (GH#662) + - Removed all the references to the old mailing list and code repository at + tigris.org (GH#757) +- This release by PETDANCE → update source URL + * Wed Jun 07 2017 Jitka Plesnikova <jples...@redhat.com> - 1.126-8 - Perl 5.26 re-rebuild of bootstrapped packages diff --git a/sources b/sources index ca0cc50..3864ed4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c5c698baa7fd373ea893ff39f29ed7b9 Perl-Critic-1.126.tar.gz +SHA512 (Perl-Critic-1.128.tar.gz) = 6243817911f237fb6a54aaa747accf1d70c7374346c43862a32692e66e318233d1c4c2f6af1fb8f735c1ed9ac9a03cc84c9ad7b051e98fa59b28b243cc77579e -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-Perl-Critic.git/commit/?h=f26&id=ca6c5a8137610a466961beb271775b35cc233dfc _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org