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
This commit is contained in:
Paul Howarth 2015-03-03 11:26:09 +00:00
parent 801b2accba
commit 8e3a900650
3 changed files with 8 additions and 18 deletions

View File

@ -1,11 +0,0 @@
--- lib/Perl/Critic/Policy/Subroutines/ProhibitUnusedPrivateSubroutines.pm
+++ lib/Perl/Critic/Policy/Subroutines/ProhibitUnusedPrivateSubroutines.pm
@@ -7,7 +7,7 @@ use warnings;
use English qw< $EVAL_ERROR -no_match_vars >;
use Readonly;
-use List::Util qw(any);
+use List::MoreUtils qw(any);
use Perl::Critic::Utils qw{
:characters hashify is_function_call is_method_call :severities

View File

@ -1,12 +1,11 @@
Name: perl-Perl-Critic
Version: 1.124
Version: 1.125
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/T/TH/THALJEF/Perl-Critic-%{version}.tar.gz
Patch0: Perl-Critic-1.124-any.patch
BuildArch: noarch
# Build process
@ -117,10 +116,6 @@ of Perl code were mixed directly in the test script. That sucked.
%prep
%setup -q -n Perl-Critic-%{version}
# Avoid the need for List::Util ≥ 1.33
# https://github.com/Perl-Critic/Perl-Critic/issues/626
%patch0
# Drop Test::Kwalitee tests in RHEL ≥ 7
%if 0%{?rhel} >= 7
rm xt/author/95_kwalitee.t
@ -158,6 +153,12 @@ LC_ALL=en_US ./Build %{!?perl_bootstrap:author}test
%{_mandir}/man3/Test::Perl::Critic::Policy.3*
%changelog
* Tue Mar 3 2015 Paul Howarth <paul@city-fan.org> - 1.125-1
- Update to 1.125
- Corrected dependency on List::Util::any() to List::MoreUtils::any()
- Revised and updated documentation
- Drop upstreamed patch for GH #626
* Sat Feb 28 2015 Paul Howarth <paul@city-fan.org> - 1.124-1
- Update to 1.124
- The ProhibitUnusedPrivateSubroutines policy can now ignore files that use

View File

@ -1 +1 @@
9bfe2d8666a89fa38b0a0c79a1497370 Perl-Critic-1.124.tar.gz
c22b0e945cfbc75fadb0a7b110e00de3 Perl-Critic-1.125.tar.gz