@ -1,6 +1,6 @@
Name: perl-Perl-Critic
Version: 1.122
Release: 3 %{?dist}
Version: 1.123
Release: 1 %{?dist}
Summary: Critique Perl source code for best-practices
Group: Development/Libraries
License: GPL+ or Artistic
@ -43,7 +43,7 @@ BuildRequires: perl(Pod::PlainText)
BuildRequires: perl(Pod::Select)
BuildRequires: perl(Pod::Spell) >= 1
BuildRequires: perl(Pod::Usage)
BuildRequires: perl(PPI) >= 1.218
BuildRequires: perl(PPI) >= 1.220
BuildRequires: perl(PPIx::Regexp) >= 0.010
BuildRequires: perl(PPIx::Utilities::Node)
BuildRequires: perl(PPIx::Utilities::Statement) >= 1.001
@ -87,7 +87,7 @@ Requires: perl(File::HomeDir)
Requires: perl(File::Which)
Requires: perl(Module::Pluggable) >= 3.1
Requires: perl(Pod::Parser)
Requires: perl(PPI) >= 1.218
Requires: perl(PPI) >= 1.220
Requires: perl(Term::ANSIColor) >= 2.02
%description
@ -105,6 +105,7 @@ also create new Policy modules that suit your own tastes.
Summary: A framework for testing your custom Policies
Group: Development/Libraries
License: GPL+ or Artistic
Requires: perl(Test::Builder) >= 0.82
%description -n perl-Test-Perl-Critic-Policy
This module provides a framework for function-testing your custom
@ -125,11 +126,11 @@ sed -i -e '/^xt\/author\/95_kwalitee.t$/ d' MANIFEST
find tools examples -type f -exec chmod -c -x {} ';'
%build
perl Build.PL installdirs=vendor
perl Build.PL -- installdirs=vendor
./Build
%install
./Build install destdir=%{buildroot} create_packlist=0
./Build install -- destdir=%{buildroot} -- create_packlist=0
%{_fixperms} %{buildroot}
%check
@ -152,6 +153,13 @@ LC_ALL=en_US ./Build %{!?perl_bootstrap:author}test
%{_mandir}/man3/Test::Perl::Critic::Policy.3pm*
%changelog
* Wed Nov 12 2014 Paul Howarth <paul@city-fan.org> - 1.123-1
- Update to 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
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.122-3
- Perl 5.20 re-rebuild of bootstrapped packages