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
epel9
Paul Howarth 13 years ago
parent 370bf786cd
commit 729367fab8

@ -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

@ -1,13 +1,12 @@
Name: perl-Perl-Critic Name: perl-Perl-Critic
Version: 1.116 Version: 1.117
Release: 6%{?dist} Release: 1%{?dist}
Summary: Critique Perl source code for best-practices Summary: Critique Perl source code for best-practices
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Perl-Critic/ URL: http://search.cpan.org/dist/Perl-Critic/
Source0: http://search.cpan.org/CPAN/authors/id/E/EL/ELLIOTJS/Perl-Critic-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/T/TH/THALJEF/Perl-Critic-%{version}.tar.gz
Patch0: Perl-Critic-1.113-stopwords.patch
BuildArch: noarch BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) 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} %setup -q -n Perl-Critic-%{version}
find . -type f -exec chmod -c -x {} + find . -type f -exec chmod -c -x {} +
# Extra stopwords for spell checker for author tests
%patch0 -p1
%build %build
%{__perl} Build.PL installdirs=vendor %{__perl} Build.PL installdirs=vendor
@ -151,6 +148,50 @@ LC_ALL=en_US ./Build %{!?perl_bootstrap:author}test
%changelog %changelog
* Thu Dec 22 2011 Paul Howarth <paul@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@city-fan.org> - 1.116-6 * Fri Jul 22 2011 Paul Howarth <paul@city-fan.org> - 1.116-6
- reinstate author tests: META.yml creation issue fixed in perl-5.14.1-182 - reinstate author tests: META.yml creation issue fixed in perl-5.14.1-182

@ -1 +1 @@
75b24983cde08329800d814ef7033ca9 Perl-Critic-1.116.tar.gz 85a274c3d08e1c3a5ed9034d5579c0a5 Perl-Critic-1.117.tar.gz

Loading…
Cancel
Save