Commit Graph

66 Commits

Author SHA1 Message Date
Paul Howarth
d7d9bc9ed5 Fix Build.PL to work with current toolchain
Add upstream fix for Build.PL to work with current toolchain, and reinstate
use of "Build authortest"
2014-05-02 14:49:18 +01:00
Paul Howarth
dd1a26eb4a Fix authortest failures
- xt/author/82_optional_modules.t shouldn't be trying to use Readonly::XS (#1092921)
- Run the author tests using "Build test" rather than "Build authortest" because the
  latter ends up deleting META.yml and that causes the kwalitee test to fail
2014-04-30 23:54:57 +01:00
Paul Howarth
5f4aead861 Update to 1.121
- New upstream release 1.121
  - Added new themes based on CERT guidelines
  - The source code repository for Perl-Critic has been moved to GitHub at
    http://github.com/Perl-Critc/Perl-Critic; all tickets from the RT queue
    have also been moved there - please use GitHub for submitting any new bugs
    or corresponding about existing ones
  - The change log was reformatted to comply with CPAN::Changes::Spec
- BR: perl(Perl::Critic::Policy::Miscellanea::RequireRcsKeywords) for the
  extra tests
- Bump perl(Test::Kwalitee) version requirement to 1.15
2013-11-04 14:22:24 +00:00
Paul Howarth
2702ff7c1f Update to 1.120
- New upstream release 1.120
  - Fix precedence error in Perl::Critic::Utils (CPAN RT#88866)
2013-10-26 19:52:59 +01:00
Paul Howarth
0e1b371d22 Update to 1.119
- New upstream release 1.119
  - Tests were failing with Config::Tiny 2.17 or later, due to a change in the
    error messages produced by that module (CPAN RT#88679, CPAN RT#88889,
    https://github.com/Perl-Critic/Perl-Critic/pull/16)
  - BuiltinFunctions::ProhibitVoidGrep and ::ProhibitVoidMap: grep and map
    called as functions are now allowed in slice operations (CPAN RT#79289)
  - Subroutines::RequireArgUnpacking: most tests of the size of @_ are now
    allowed (CPAN RT#79138)
  - Modernized our usage of Exporter (CPAN RT#75300)
- Drop redundant patch for CPAN RT#87875
2013-09-26 16:01:24 +01:00
Jitka Plesnikova
527d7d46ea Fix RT#87875 2013-08-15 14:35:15 +02:00
Jitka Plesnikova
edf804690c Perl 5.18 re-rebuild of bootstrapped packages 2013-08-14 18:48:43 +02:00
Dennis Gilmore
6005157a25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 19:20:59 -05:00
Petr Písař
f362df5fee Perl 5.18 rebuild 2013-07-30 06:33:41 +02:00
Paul Howarth
bcc9c8d75b BR: perl(Fatal) for the test suite 2013-06-20 18:41:08 +01:00
Dennis Gilmore
f74aef501b - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 08:38:59 -06:00
Dennis Gilmore
b33ba2879d - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-20 13:18:53 -05:00
Paul Howarth
b65d650da0 Update to 1.118
- New upstream release 1.118:
  Policy Changes:
  - CodeLayout::RequireTidyCode: revise to work with incompatible changes in
    Perl::Tidy 20120619 (CPAN RT#77977)
  - TestingAndDebugging::ProhibitNoWarnings: correct the parse of the
    'no warnings' statement, so that 'no warnings "qw"' is recognized as
    suppressing just 'qw' warnings (CPAN RT#74647)
  - Miscellanea::RequireRcsKeywords has been moved to the Perl-Critic-More
    distribution (CPAN RT#69546)
  Other Changes:
  - Make all unescaped literal "{" characters in regexps into character
    classes; these are deprecated, and became noisy with Perl 5.17.0
    (CPAN RT#77510)
- Drop now-redundant patch for Perl::Tidy compatibility
- BR: perl(lib) for the build process
- BR: perl(base), perl(PPIx::Utilities::Node) and perl(Test::Builder) ≥ 0.92
  for the module (Test::Builder required by Test::Perl::Critic::Policy)
- BR: perl(Exporter) ≥ 5.58; with older versions we get:
  ":color_severity" is not exported by the Perl::Critic::Utils::Constants module
- BR: perl(File::Spec::Functions) for the test suite
- Drop buildreqs for perl(charnames), perl(File::Basename), perl(File::Find),
  perl(overload), perl(strict) and perl(warnings) - not dual lived
2012-07-11 15:51:21 +01:00
Petr Písař
f1446a8f8b Perl 5.16 re-rebuild of bootstrapped packages 2012-07-10 17:39:33 +02:00
Paul Howarth
7ebd378dc3 Fix breakage with Perl::Tidy ≥ 20120619 (CPAN RT#77977) 2012-07-10 15:52:45 +01:00
Petr Písař
4231ce765d Perl 5.16 re-rebuild of bootstrapped packages 2012-07-10 15:40:31 +02:00
Petr Písař
97d5dcf9ba Perl 5.16 rebuild 2012-06-20 04:16:14 +02:00
Marcela Mašláňová
4f6102cf16 conditionalize aspell 2012-06-07 17:32:26 +02:00
Petr Písař
69efbb0993 Do not use Test::Kwalitee on RHEL >= 7 2012-04-24 16:57:18 +02:00
Paul Howarth
e246452eaa Spec clean-up
- Separate build requirements and runtime requirements
- Drop redundant %{?perl_default_filter}
- Fix permissions verbosely
- Use tabs
2012-02-28 10:59:53 +00:00
Paul Howarth
ebea723169 Drop %defattr, no longer needed 2012-01-12 19:19:39 +00:00
Paul Howarth
729367fab8 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
2011-12-22 10:45:33 +00:00
Paul Howarth
370bf786cd Reinstate author tests: META.yml creation issue fixed in perl-5.14.1-182 2011-07-22 16:08:30 +01:00
Petr Sabata
a3afed8633 Disable author tests 2011-07-22 14:03:28 +02:00
Petr Sabata
dcef624753 Perl mass rebuild 2011-07-21 16:50:43 +02:00
Petr Sabata
5d7d0a20eb Perl mass rebuild 2011-07-20 04:47:42 +02:00
Paul Howarth
5eb7be0114 Run the author tests if we're not bootstrapping 2011-06-29 20:01:46 +01:00
Paul Howarth
fbad33c454 Move BR: perl(Test::Perl::Critic) to author test section where it belongs 2011-06-29 19:32:26 +01:00
Paul Howarth
311f21ae61 Update to 1.116
- New upstream release 1.116:
  - BuiltInFunctions::ProhibitLvalueSubstr does not report violations if the
    document contains an explicit 'use n.nnn;' where the version is before
    5.005 (CPAN RT#59112)
  - Documentation::RequirePodSections no longer blows up on code having POD but
    no =head1 (CPAN RT#67231)
  - RegularExpressions::ProhibitUnusedCapture should more reliably find things
    like s/(a)/${1}2/ (CPAN RT#67273)
  - ValuesAndExpressions::ProhibitMagicNumbers and Module::RequireVersionVar
    now treat versions passed as the second argument of a 'package' statement
    the same as versions declared as 'our $VERSION ...' (CPAN RT#67159)
  - Variables::RequireLexicalLoopIterators does not report violations if the
    document contains an explicit 'use n.nnn;' where the version is before
    5.004 (CPAN RT#67760)
2011-05-16 12:49:32 +01:00
Paul Howarth
077f0fdadc Update to 1.115
- New upstream release 1.115:
  - Fatal error in RegularExpressions::ProhibitUnusedCapture here document
    check (CPAN RT#67116)
  - Internal POD error in Documentation::RequirePodLinksIncludeText
    (CPAN RT#67012)
2011-04-01 13:10:10 +01:00
Paul Howarth
2868c631b8 Tidy dependencies and add --with authortests build option
- BR/R: optional modules perl(Readonly::XS), perl(Term::ANSIColor) >= 2.02
- BR: perl(Pod::Spell) >= 1
- BR: perl(Text::ParseWords) >= 3
- Add runtime deps for optional modules perl(File::HomeDir), perl(File::Which)
- Add dependency on aspell for Perl::Critic::Policy::Documentation::PodSpelling
- Add version 1.889 requirement for perl(Email::Address)
- Add version 0.19 requirement for perl(List::MoreUtils)
- Add version 0.010 requirement for perl(PPIx::Regexp)
- Add version 1.001 requirement for perl(PPIx::Utilities::Statement)
- Add version 0.77 requirement for perl(version)
- Drop unused buildreq perl(Test::Spelling)
- Drop bogus buildreqs perl(lib) and perl(base)
- Add option for building with author tests enabled (--with authortests)
- Add patch with words not in Fedora dictionaries for spell check tests
- Split buildreqs into separate sections for build process, the module, the
  main test suite and the author tests
2011-03-30 09:39:29 +01:00
Paul Howarth
0bc1d1f650 Split Test::Perl::Critic::Policy off into its own package 2011-03-29 13:31:19 +01:00
Paul Howarth
f7d19979d2 Drop redundant (for modern rpm) BuildRoot tag and buildroot cleaning 2011-03-29 13:16:09 +01:00
Paul Howarth
8d08a157e5 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)
2011-03-29 13:06:27 +01:00
Paul Howarth
4752cd705e Tidy up changelog entries 2011-03-27 14:53:53 +01:00
Marcela Mašláňová
c185ce57fa update to 1.113 2011-03-07 16:04:37 +01:00
Dennis Gilmore
9aefc056be - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 23:44:52 -06:00
Marcela Mašláňová
8ffc46b55d Update to 1.111 2011-01-03 15:18:18 +01:00
Marcela Mašláňová
f9d95d7f99 - 661697 rebuild for fixing problems with vendorach/lib 2010-12-21 13:45:28 +01:00
Marcela Mašláňová
d1a7344c29 * Fri Aug 6 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.108-1
- update
2010-08-06 14:17:15 +02:00
Marcela Mašláňová
1c6cb25af3 - Mass rebuild with perl-5.12.0 2010-05-04 18:03:04 +00:00
Štěpán Kasal
002cd45417 - rebuild against perl 5.10.1 2009-12-07 13:35:44 +00:00
Štěpán Kasal
3fd13a06ce - use the new filtering macros (verified that the resulting provides and
requires are the same)
- add version to perl(PPI) require (#541020)
2009-11-25 13:59:21 +00:00
Štěpán Kasal
513098abc2 fix typo 2009-10-07 17:00:41 +00:00
Štěpán Kasal
405ea31a7b - new upstream version
- update build requires
2009-10-07 16:59:49 +00:00
Jesse Keating
e88f9febef - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-26 16:11:04 +00:00
Chris Weyl
2f216150c0 - "neaten" filtering
- auto-update to 1.098 (by cpan-spec-update 0.01)
- added a new br on perl(strict) (version 0)
- added a new br on perl(Scalar::Util) (version 0)
- added a new br on perl(File::Temp) (version 0)
- added a new br on perl(Pod::Usage) (version 0)
- added a new br on perl(File::Find) (version 0)
- added a new br on perl(PPI::Token::Whitespace) (version 1.203)
- added a new br on perl(charnames) (version 0)
- added a new br on perl(PPI::Document::File) (version 1.203)
- added a new br on perl(File::Spec::Unix) (version 0)
- added a new br on perl(List::Util) (version 0)
- added a new br on perl(lib) (version 0)
- added a new br on perl(Getopt::Long) (version 0)
- added a new br on perl(Exporter) (version 0)
- added a new br on perl(Test::More) (version 0)
- added a new br on perl(overload) (version 0)
- added a new br on perl(base) (version 0)
- added a new br on perl(version) (version 0)
- added a new br on perl(Carp) (version 0)
- added a new br on perl(warnings) (version 0)
- added a new br on perl(PPI::Document) (version 1.203)
- added a new br on perl(File::Basename) (version 0)
- added a new br on perl(PPI::Token::Quote::Single) (version 1.203)
- added a new br on perl(File::Spec) (version 0)
- added a new br on perl(File::Path) (version 0)
- added a new br on perl(Pod::PlainText) (version 0)
- added a new br on perl(Pod::Select) (version 0)
- added a new br on perl(PPI::Node) (version 1.203)
- added a new br on perl(English) (version 0)
2009-06-09 08:35:31 +00:00
Jesse Keating
beff4c9d4a - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-27 00:25:29 +00:00
Chris Weyl
87c23d79a7 - update to 1.092 2008-09-09 23:16:43 +00:00
Chris Weyl
ebb8cf477f - update to 1.082
- resolve BZ#431577
- add t/ examples/ extras/ tools/, and filter
2008-07-01 03:41:41 +00:00