[perl-Perl-Critic] Update to 1.114
Paul Howarth
pghmcfc at fedoraproject.org
Wed Mar 30 12:12:44 UTC 2011
commit 8d08a157e5cd0bc91e679e82130af91876657251
Author: Paul Howarth <paul at city-fan.org>
Date: Tue Mar 29 13:06:27 2011 +0100
Update to 1.114
- New upstream release 1.114:
- Documentation::RequirePodLinksIncludeText now handles nested POD formatting
(CPAN RT#65569)
- Clarified relation of severity numbers to names in Perl::Critic POD
(CPAN RT#66017)
- Removed caveats from Variables::RequireLocalizedPunctuationVars, no longer
necessary with PPI 1.208 (CPAN RT#65514)
- Have InputOutput::RequireBriefOpen attempt to expand scope as necessary to
deal with the case where the open() and the corresponding close() are not
in the same scope (CPAN RT#64437)
- RegularExpressions::ProhibitUnusedCapture now looks inside double-quotish
things (CPAN RT#38942)
- RegularExpressions::ProhibitUnusedCapture now takes logical alternation
into account, so that (e.g.)
if ( /(a)/ || /(b)/ ) {
say $1;
}
is not a violation (CPAN RT#38942)
- ValuesAndExpressions::ProhibitCommaSeparatedStatements now recognizes
'return { foo => 1, bar => 2 }' as containing a hash constructor, not a
block; this was fixed by PPI 1.215 (CPAN RT#61301)
- ValuesAndExpressions::ProhibitCommaSeparatedStatements now recognizes
'bless { foo => 1, bar => 2 }' as containing a hash constructor, not a
block; this was fixed by PPI 1.215 (CPAN RT#64132)
- Bump PPI version requirement to 1.215
- BR/R: perl(Pod::Parser)
.gitignore | 5 +----
perl-Perl-Critic.spec | 37 +++++++++++++++++++++++++++++++++----
sources | 2 +-
3 files changed, 35 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a0e8637..5b2f372 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1 @@
-Perl-Critic-1.105.tar.gz
-Perl-Critic-1.108.tar.gz
-/Perl-Critic-1.111.tar.gz
-/Perl-Critic-1.113.tar.gz
+/Perl-Critic-1.114.tar.gz
diff --git a/perl-Perl-Critic.spec b/perl-Perl-Critic.spec
index 2d84311..92c9235 100644
--- a/perl-Perl-Critic.spec
+++ b/perl-Perl-Critic.spec
@@ -1,5 +1,5 @@
Name: perl-Perl-Critic
-Version: 1.113
+Version: 1.114
Release: 1%{?dist}
Summary: Critique Perl source code for best-practices
@@ -21,8 +21,10 @@ BuildRequires: perl(String::Format) >= 1.13
BuildRequires: perl(Module::Pluggable) >= 3.1
Requires: perl(Module::Pluggable) >= 3.1
-BuildRequires: perl(PPI) >= 1.205
-Requires: perl(PPI) >= 1.205
+BuildRequires: perl(Pod::Parser)
+Requires: perl(Pod::Parser)
+BuildRequires: perl(PPI) >= 1.215
+Requires: perl(PPI) >= 1.215
BuildRequires: perl(Perl::Tidy)
BuildRequires: perl(PPIx::Utilities::Statement)
@@ -32,7 +34,6 @@ BuildRequires: perl(Test::Memory::Cycle)
BuildRequires: perl(Readonly) >= 1.03
BuildRequires: perl(Exception::Class) >= 1.23
BuildRequires: perl(Email::Address)
-# BuildRequires: perl(Regexp::Parser)
BuildRequires: perl(Test::Deep)
# Author tests
BuildRequires: perl(Test::Perl::Critic)
@@ -122,6 +123,34 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Mar 29 2011 Paul Howarth <paul at city-fan.org> 1.114-1
+- update to 1.114
+ - Documentation::RequirePodLinksIncludeText now handles nested POD formatting
+ (CPAN RT#65569)
+ - clarified relation of severity numbers to names in Perl::Critic POD
+ (CPAN RT#66017)
+ - removed caveats from Variables::RequireLocalizedPunctuationVars, no longer
+ necessary with PPI 1.208 (CPAN RT#65514)
+ - have InputOutput::RequireBriefOpen attempt to expand scope as necessary to
+ deal with the case where the open() and the corresponding close() are not
+ in the same scope (CPAN RT#64437)
+ - RegularExpressions::ProhibitUnusedCapture now looks inside double-quotish
+ things (CPAN RT#38942)
+ - RegularExpressions::ProhibitUnusedCapture now takes logical alternation
+ into account, so that (e.g.)
+ if ( /(a)/ || /(b)/ ) {
+ say $1;
+ }
+ is not a violation (CPAN RT#38942)
+ - ValuesAndExpressions::ProhibitCommaSeparatedStatements now recognizes
+ 'return { foo => 1, bar => 2 }' as containing a hash constructor, not a
+ block; this was fixed by PPI 1.215 (CPAN RT#61301)
+ - ValuesAndExpressions::ProhibitCommaSeparatedStatements now recognizes
+ 'bless { foo => 1, bar => 2 }' as containing a hash constructor, not a
+ block; this was fixed by PPI 1.215 (CPAN RT#64132)
+- bump PPI version requirement to 1.215
+- BR/R: perl(Pod::Parser)
+
* Mon Mar 7 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.113-1
- update to 1.113
diff --git a/sources b/sources
index 60a694a..55be05b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-20d2e7c73b68d21c08eff6ae4addd58d Perl-Critic-1.113.tar.gz
+8ad5d02388b349aa0df14c2306d11b17 Perl-Critic-1.114.tar.gz
More information about the perl-devel
mailing list