From 729367fab8da19b14705c983ee294dff857a62c0 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Dec 22 2011 10:45:33 +0000 Subject: Update to 1.117 - New upstream release 1.117: New Policies: - Variables::ProhibitAugmentedAssignmentInDeclaration reports constructs like 'my $x += 1' Policy Changes: - BuiltinFunctions::ProhibitLvalueSubstr: add explicit 'use version' (CPAN RT#68498) - CodeLayout::ProhibitHardTabs: add 'pbp' to the default_themes list (CPAN RT#71093) - ControlStructures::ProhibitMutatingListFunctions now understands that tr///r (introduced in 5.13.7) does not change its operand - ControlStructures::ProhibitMutatingListFunctions now understands that '//=', '<<=', and '>>=' are assignment operators (CPAN RT#70901) - ErrorHandling::RequireCheckingReturnValueOfEval now allows things like grep { eval $_ } (CPAN RT#69489) - Modules::RequireExplicitPackage now has configuraion option allow_import_of, to allow the import of specified modules before the package statement (CPAN RT#72660) - RegularExpressions::ProhibitEnumeratedClasses no longer thinks that [A-Za-z_] matches \w. RT #69322. - RegularExpressions::ProhibitUnusedCaptures now skips the first block of an 'if' or 'elsif' if the regular expression is bound to its operand with the '!~' operator (CPAN RT#69867) - RegularExpressions::ProhibitUnusedCaptures now looks into lists and blocks in the replacement portion of the regular expression if /e is asserted (CPAN RT#72086) - RegularExpressions::RequireDotMatchAnything, RegularExpressions::RequireExtendedFormatting and RegularExpressions::RequireLineBoundaryMatching now honor defaults set with 'use re "/modifiers"' (CPAN RT#72151) - Subroutines::ProhibitManyArgs now recognizes '+' as a prototype character - Variables::ProhibitPunctuationVars now recognizes bracketed variables embedded in interpolated strings (e.g. "${$}"); for the purpose of the 'allow' configuration, these are considered equivalent to the unbracketed form (CPAN RT#72910) Other Changes: - Corrected POD in Perl::Critic::PPI::Utils (CPAN RT#68898) - Perl::Critic::Violation source() method now returns the line containing the violation (not the first line) when the statement containing the violation spans multiple lines - This release by THALJEF -> update source URL - Drop stopwords patch, now included upstream --- diff --git a/Perl-Critic-1.113-stopwords.patch b/Perl-Critic-1.113-stopwords.patch deleted file mode 100644 index ad7145d..0000000 --- a/Perl-Critic-1.113-stopwords.patch +++ /dev/null @@ -1,59 +0,0 @@ ---- Perl-Critic-1.113/xt/author/40_stop_words.orig 2011-02-15 01:38:45.000000000 +0000 -+++ Perl-Critic-1.113/xt/author/40_stop_words 2011-03-18 14:26:58.075929860 +0000 -@@ -15,7 +15,9 @@ - colour - colours - config -+Conway's - CPAN -+customizable - CVS - dereference - dereferencing -@@ -28,6 +30,7 @@ - filehandles - filename - filenames -+Fowler's - globals - globbing - Guzis -@@ -37,9 +40,12 @@ - HEREDOCs - IDE - lvalue -+maintainer's -+matcher - Maxia - Mehner - memoization -+MERCHANTABILITY - metacharacters - Metadata - metadata -@@ -49,6 +55,7 @@ - namespace - namespaces - octothorp -+optimizations - PBP - pbp - perl -@@ -88,6 +95,7 @@ - STDIN - STDOUT - stringification -+subclasses - subdirectories - subscripted - superclass -@@ -101,6 +109,9 @@ - undef - unescaped - unparsed -+untestable -+untrusted -+unvalidated - vice-versa - whitespace - Wyant diff --git a/perl-Perl-Critic.spec b/perl-Perl-Critic.spec index 6a6e847..88c153a 100644 --- a/perl-Perl-Critic.spec +++ b/perl-Perl-Critic.spec @@ -1,13 +1,12 @@ Name: perl-Perl-Critic -Version: 1.116 -Release: 6%{?dist} +Version: 1.117 +Release: 1%{?dist} Summary: Critique Perl source code for best-practices Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Perl-Critic/ -Source0: http://search.cpan.org/CPAN/authors/id/E/EL/ELLIOTJS/Perl-Critic-%{version}.tar.gz -Patch0: Perl-Critic-1.113-stopwords.patch +Source0: http://search.cpan.org/CPAN/authors/id/T/TH/THALJEF/Perl-Critic-%{version}.tar.gz BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -118,8 +117,6 @@ of Perl code were mixed directly in the test script. That sucked. %setup -q -n Perl-Critic-%{version} find . -type f -exec chmod -c -x {} + -# Extra stopwords for spell checker for author tests -%patch0 -p1 %build %{__perl} Build.PL installdirs=vendor @@ -151,6 +148,50 @@ LC_ALL=en_US ./Build %{!?perl_bootstrap:author}test %changelog +* Thu Dec 22 2011 Paul Howarth - 1.117-1 +- update to 1.117 + New Policies: + - Variables::ProhibitAugmentedAssignmentInDeclaration reports constructs like + 'my $x += 1' + Policy Changes: + - BuiltinFunctions::ProhibitLvalueSubstr: add explicit 'use version' + (CPAN RT#68498) + - CodeLayout::ProhibitHardTabs: add 'pbp' to the default_themes list + (CPAN RT#71093) + - ControlStructures::ProhibitMutatingListFunctions now understands that + tr///r (introduced in 5.13.7) does not change its operand + - ControlStructures::ProhibitMutatingListFunctions now understands that + '//=', '<<=', and '>>=' are assignment operators (CPAN RT#70901) + - ErrorHandling::RequireCheckingReturnValueOfEval now allows things + like grep { eval $_ } (CPAN RT#69489) + - Modules::RequireExplicitPackage now has configuraion option + allow_import_of, to allow the import of specified modules before the + package statement (CPAN RT#72660) + - RegularExpressions::ProhibitEnumeratedClasses no longer thinks + that [A-Za-z_] matches \w. RT #69322. + - RegularExpressions::ProhibitUnusedCaptures now skips the first block of + an 'if' or 'elsif' if the regular expression is bound to its operand with + the '!~' operator (CPAN RT#69867) + - RegularExpressions::ProhibitUnusedCaptures now looks into lists and blocks + in the replacement portion of the regular expression if /e is asserted + (CPAN RT#72086) + - RegularExpressions::RequireDotMatchAnything, + RegularExpressions::RequireExtendedFormatting and + RegularExpressions::RequireLineBoundaryMatching now honor defaults set with + 'use re "/modifiers"' (CPAN RT#72151) + - Subroutines::ProhibitManyArgs now recognizes '+' as a prototype character + - Variables::ProhibitPunctuationVars now recognizes bracketed variables + embedded in interpolated strings (e.g. "${$}"); for the purpose of the + 'allow' configuration, these are considered equivalent to the unbracketed + form (CPAN RT#72910) + Other Changes: + - corrected POD in Perl::Critic::PPI::Utils (CPAN RT#68898) + - Perl::Critic::Violation source() method now returns the line containing + the violation (not the first line) when the statement containing the + violation spans multiple lines +- this release by THALJEF -> update source URL +- drop stopwords patch, now included upstream + * Fri Jul 22 2011 Paul Howarth - 1.116-6 - reinstate author tests: META.yml creation issue fixed in perl-5.14.1-182 diff --git a/sources b/sources index f06f87c..18f9a81 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -75b24983cde08329800d814ef7033ca9 Perl-Critic-1.116.tar.gz +85a274c3d08e1c3a5ed9034d5579c0a5 Perl-Critic-1.117.tar.gz