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
This commit is contained in:
Paul Howarth 2013-09-26 16:01:24 +01:00
parent 527d7d46ea
commit 0e1b371d22
3 changed files with 15 additions and 18 deletions

View File

@ -1,11 +0,0 @@
diff -up Perl-Critic-1.118/Build.PL.orig Perl-Critic-1.118/Build.PL
--- Perl-Critic-1.118/Build.PL.orig 2013-08-15 14:11:11.516276431 +0200
+++ Perl-Critic-1.118/Build.PL 2013-08-15 14:14:38.963056339 +0200
@@ -56,7 +56,6 @@ my $builder = Perl::Critic::Module::Buil
homepage => 'http://perlcritic.com',
license => 'http://dev.perl.org/licenses/',
repository => 'http://guest@perlcritic.tigris.org/svn/perlcritic/trunk/distributions/Perl-Critic/',
- MailingList => 'http://perlcritic.tigris.org/servlets/SummarizeList?listName=users',
},
no_index => {
file => [

View File

@ -1,14 +1,11 @@
Name: perl-Perl-Critic
Version: 1.118
Release: 7%{?dist}
Version: 1.119
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
# Fix for author test (RT#87875)
Patch0: Perl-Critic-1.118-fix-META-files.patch
BuildArch: noarch
# Build process
@ -119,7 +116,6 @@ of Perl code were mixed directly in the test script. That sucked.
%prep
%setup -q -n Perl-Critic-%{version}
%patch0 -p1
# Drop Test::Kwalitee tests in RHEL ≥ 7
%if 0%{?rhel} >= 7
@ -153,6 +149,18 @@ LC_ALL=en_US ./Build %{!?perl_bootstrap:author}test
%{_mandir}/man3/Test::Perl::Critic::Policy.3pm*
%changelog
* Thu Sep 26 2013 Paul Howarth <paul@city-fan.org> - 1.119-1
- Update to 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
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.118-7
- Perl 5.18 re-rebuild of bootstrapped packages
- Remove MailingList from Build.PL to fix author test failure (CPAN RT#87875)

View File

@ -1 +1 @@
25391a51d57cdf34c535f01d9ff91b83 Perl-Critic-1.118.tar.gz
0adf1dcf3e749e007cde2670ae259506 Perl-Critic-1.119.tar.gz