[perl-Perl-Critic] Update to 1.117
Paul Howarth
pghmcfc at fedoraproject.org
Thu Dec 22 11:12:32 UTC 2011
commit 729367fab8da19b14705c983ee294dff857a62c0
Author: Paul Howarth <paul at city-fan.org>
Date: Thu Dec 22 10:44:31 2011 +0000
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
Perl-Critic-1.113-stopwords.patch | 59 -------------------------------------
perl-Perl-Critic.spec | 53 +++++++++++++++++++++++++++++----
sources | 2 +-
3 files changed, 48 insertions(+), 66 deletions(-)
---
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 <paul at city-fan.org> - 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 <paul at city-fan.org> - 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
More information about the perl-devel
mailing list