Commit Graph

98 Commits

Author SHA1 Message Date
Paul Howarth 80b86095af Explicitly BR: glibc-langpack-en 2018-11-06 16:10:55 +00:00
Fedora Release Engineering 2303dbbd17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 19:19:51 +00:00
Jitka Plesnikova b8e2999cd7 Perl 5.28 re-rebuild of bootstrapped packages 2018-07-01 09:08:48 +02:00
Jitka Plesnikova d4f0d5f051 Perl 5.28 rebuild 2018-06-29 12:38:39 +02:00
Paul Howarth f2ce4835fa Update to 1.132
- New upstream release 1.132
  New Features
  - In the ProhibitLeadingZeros policy, added an exception for mkfifo (GH#786)
  - Add colour support for Windows platforms (GH#700)
  - Perl::Critic now assumes that .psgi files are Perl, too (GH#805)
  - Variables::ProhibitUnusedVariables no longer gives a false positive for
    variables used in interpolation (GH#801)
  - Added the ability to specify a regex to tell what unused private
    subroutines are OK in Subroutines::ProhibitUnusedPrivateSubroutines; this
    is handy for Moose classes where there could be many false positives on
    _build_xxxx() subroutines (GH#811, GH#812)
  Dependencies
  - Perl::Critic now no longer relies on the deprecated Email::Address
    (GH #816)
  Bug Fixes
  - Recode Perl::Critic::Utils::all_perl_files() to use File::Find instead of
    opendir/readdir; this solves endless directory traversals if the
    directories contain circular symbolic references
  - Added missing requirement for Fatal.pm
  Documentation
  - Added CONTRIBUTING.md
- Switch upstream from search.cpan.org to metacpan.org
- Switch spell checker from aspell to hunspell
2018-06-04 10:05:32 +01:00
Fedora Release Engineering 4d3f2aa276 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 00:03:39 +00:00
Fedora Release Engineering 74409c219d - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 05:42:52 +00:00
Paul Howarth f6bfbed442 Update to 1.130
- New upstream release 1.130
  New Features
  - Policies that ensure that system calls are checked, such as
    RequireCheckedSystemCalls, now have an "autodie_modules" setting that
    allows you to tell the policy about other modules that export autodie
    (GH#699, GH#747)
2017-07-21 11:10:56 +01:00
Petr Písař 75a461abb9 perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 15:02:17 +02:00
Paul Howarth ca6c5a8137 Update to 1.128
- New upstream release 1.128
  Bug Fixes
  - PPI misparsing a module caused an incorrect "Must end with a recognizable
    true value"; this is fixed by upgrading to PPI 1.224 (GH#696, GH#607)
  - A test would fail under the upcoming Perl 5.26 that omits the current
    directory from @INC
  - Fixed an invalid test in the RequireBarewordsIncludes test (GH#751)
  - If an element contained blank lines then the source "%r" displayed for a
    violation was wrong (GH#702, GH#734)
  Dependencies
  - Perl::Critic now requires PPI 1.224; PPI is the underlying Perl parser on
    which Perl::Critic is built, and 1.224 introduces many parsing fixes such
    as:
    - Fixes for dot-in-@INC
    - Parse left side of => as bareword even if it looks like a keyword or op
    - $::x now works
    - Higher accuracy when deciding whether certain characters are operators or
      variable type casts (*&% etc.)
    - Subroutine attributes parsed correctly
  Performance Enhancements
  - Sped up BuiltinFunctions::ProhibitUselessTopic ~7% (GH#656)
  Documentation
  - Fixed incorrect explanation of capture variables in
    ProhibitCaptureWithoutTest
  - Fixed incorrect links
  - Fixed incorrect example for returning a sorted list
  - Fixed invalid POD (GH#735)
  - Updated docs on ProhibitYadaOperator (GH#662)
  - Removed all the references to the old mailing list and code repository at
    tigris.org (GH#757)
- This release by PETDANCE → update source URL
2017-06-11 18:17:10 +01:00
Jitka Plesnikova 01d1d89e63 Perl 5.26 re-rebuild of bootstrapped packages 2017-06-07 16:57:35 +02:00
Jitka Plesnikova 7ae5e9a985 Perl 5.26 rebuild 2017-06-06 10:27:32 +02:00
Paul Howarth 9054d02e2e Fix t/07_perlcritic.t for @INC without '.' (GH#738)
Also: drop legacy Group: tags
2017-05-24 16:17:43 +01:00
Fedora Release Engineering 82b1ac4509 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 04:49:56 +00:00
Petr Písař 660dbe2a4e Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 10:05:00 +02:00
Jitka Plesnikova 912fb034a9 Perl 5.24 re-rebuild of bootstrapped packages 2016-05-18 18:28:30 +02:00
Jitka Plesnikova ccd388aba7 Perl 5.24 rebuild 2016-05-16 13:55:18 +02:00
Fedora Release Engineering ce7aeec9ca - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 15:21:20 +00:00
Paul Howarth 48affb61a9 Update to 1.126
- New upstream release 1.126
  - Added a policy: ControlStructures::ProhibitYadaOperator - Never use ... in
    production code
  - Fixed problems arising from having -b in your .perltidyrc file
  - Removed extra newline from policy names returned by P::C::Config->policies
  - 'fc' and 'say' are now covered by ProhibitUselessTopic
  - Add more strict/warnings importer modules
  - Path::Tiny is now recommended over File::Slurp
  - Micro-optimize by calling ->content() directly instead of going through the
    overloads
  - Square brackets are now allowed around your '## no critic' policy list
2015-08-11 14:57:32 +01:00
Dennis Gilmore c5d7a03dba - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 05:27:49 +00:00
Jitka Plesnikova cc7b47f060 Perl 5.22 re-rebuild of bootstrapped packages 2015-06-10 15:18:12 +02:00
Jitka Plesnikova 27da67c0e2 Perl 5.22 rebuild 2015-06-06 19:28:01 +02:00
Paul Howarth 8e3a900650 Update to 1.125
- New upstream release 1.125
  - Corrected dependency on List::Util::any() to List::MoreUtils::any()
  - Revised and updated documentation
- Drop upstreamed patch for GH #626
2015-03-03 11:26:09 +00:00
Paul Howarth 801b2accba Update to 1.124
- New upstream release 1.124
  - The ProhibitUnusedPrivateSubroutines policy can now ignore files that use
    particular modules with the 'skip_when_using' option, which allows, for
    example, skipping the policy for roles
  - The RequireUseStrict and RequireUseWarnings policies now regard Moose, Moo,
    Mouse, Dancer, Mojolicious, and several other modules as equivalent to the
    strict and warnings pragma
  - The RequireChecked* family of policies has been fixed to accommodate
    version numbers when use-ing the autodie pragma (GH #612)
- Add patch to avoid the need for List::Util ≥ 1.33 (GH #626)
2015-02-28 20:23:42 +00:00
Paul Howarth 9cb9d512fd Update to 1.123
- New upstream release 1.123
  - Now requires PPI-1.220 which has numerous bug fixes; this may eliminate
    the need for some "## no critic" markers you inserted to work around those
    bugs - the "ProhibitUselessNoCritic" policy should help you find them
  - Fixed a typo in the Variables::ProhibitPerl4PackageNames message
2014-11-12 16:24:23 +00:00
Jitka Plesnikova c6210da47f Perl 5.20 re-rebuild of bootstrapped packages 2014-09-08 22:26:10 +02:00
Jitka Plesnikova ad613245cb Perl 5.20 rebuild 2014-08-29 17:58:17 +02:00
Paul Howarth 8ec205d92c Update to 1.122
- New upstream release 1.122
  - Now requires PPI-1.218, which has numerous enahncements and bug fixes
  - Also now requires Readonly-2.00, which obviates the need for Readonly::XS
    to get fast constants
  - File::HomeDir, File::Which, and Term::ANSIColor are all required now
    instead of being optional or recommended; this simplifies our test code
    and ensures consistent optimal behavior for all users
  - Added two new policies: BuiltinFunctions::ProhibitUselessTopic and
    RegularExpressions::ProhibitUselessTopic
  - Updated the perlcritic.el script to use modern Emacs hooks (GH #556)
  - Removed all the internal RCS keyword boilerplate blocks that were never
    getting expanded
- Use %license where possible
- Drop upstreamed patches
2014-08-26 00:09:44 +01:00
Dennis Gilmore 4bae07f118 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 03:55:55 -05:00
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