@ -1,30 +1,32 @@
Name: perl-Test-Perl-Critic
Name: perl-Test-Perl-Critic
Summary: Use Perl::Critic in test programs
Summary: Use Perl::Critic in test programs
Version: 1.03
Version: 1.04
Release: 9%{?dist}
Release: 1%{?dist}
Group: Development/Libraries
License: GPL+ or Artistic
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Test-Perl-Critic/
URL: http://search.cpan.org/dist/Test-Perl-Critic/
Source0: http://search.cpan.org/CPAN/authors/id/T/TH/THALJEF /Test-Perl-Critic-%{version}.tar.gz
Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE /Test-Perl-Critic-%{version}.tar.gz
BuildArch: noarch
BuildArch: noarch
# Module Build
# Module Build
BuildRequires: perl-interpreter
BuildRequires: coreutils
BuildRequires: perl-generators
BuildRequires: perl-generators
BuildRequires: perl(Module::Build)
BuildRequires: perl-interpreter
BuildRequires: perl(Module::Build) >= 0.40
# Module Runtime
# Module Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(Carp)
BuildRequires: perl(English)
BuildRequires: perl(English)
BuildRequires: perl(MCE::Grep)
BuildRequires: perl(Perl::Critic) >= 1.105
BuildRequires: perl(Perl::Critic) >= 1.105
BuildRequires: perl(Perl::Critic::Utils) >= 1.105
BuildRequires: perl(Perl::Critic::Utils) >= 1.105
BuildRequires: perl(Perl::Critic::Violation) >= 1.105
BuildRequires: perl(Perl::Critic::Violation) >= 1.105
BuildRequires: perl(strict)
BuildRequires: perl(strict)
BuildRequires: perl(Test::Builder) >= 0.88
BuildRequires: perl(Test::Builder) >= 0.88
BuildRequires: perl(warnings)
BuildRequires: perl(warnings)
# Optional Runtime
BuildRequires: perl(MCE::Grep) >= 1.827
# Test Suite
# Test Suite
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::More)
# Runtime
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(MCE::Grep) >= 1.827
Requires: perl(Perl::Critic) >= 1.105
Requires: perl(Perl::Critic) >= 1.105
Requires: perl(Perl::Critic::Utils) >= 1.105
Requires: perl(Perl::Critic::Utils) >= 1.105
Requires: perl(Perl::Critic::Violation) >= 1.105
Requires: perl(Perl::Critic::Violation) >= 1.105
@ -55,7 +57,7 @@ perl Build.PL --installdirs=vendor
%install
%install
./Build install --destdir=%{buildroot} --create_packlist=0
./Build install --destdir=%{buildroot} --create_packlist=0
%{_fixperms} %{buildroot}
%{_fixperms} -c %{buildroot}
%check
%check
./Build test
./Build test
@ -71,6 +73,16 @@ perl Build.PL --installdirs=vendor
%{_mandir}/man3/Test::Perl::Critic.3*
%{_mandir}/man3/Test::Perl::Critic.3*
%changelog
%changelog
* Tue Mar 27 2018 Paul Howarth <paul@city-fan.org> - 1.04-1
- Update to 1.04
- Sped up critic_ok() by 4x by not recreating a Perl::Critic object over and
over (GH#10)
- Now requires Test::Builder~0.88 or later to support the done_testing()
method (GH#2)
- Now requires MCE 1.827 to deal with problems running under taint mode (GH#6)
- This release by PETDANCE → update source URL
- Drop BuildRoot: and Group: tags
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-9
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild