|
|
|
@ -1,24 +1,27 @@
|
|
|
|
|
Name: perl-Test-Strict
|
|
|
|
|
Version: 0.22
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.23
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
# see lib/Test/Strict.pm
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Summary: Check syntax, presence of use strict/warnings, and test coverage
|
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/Test-Strict-%{version}.tar.gz
|
|
|
|
|
Url: http://search.cpan.org/dist/Test-Strict
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl(Devel::Cover)
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
|
BuildRequires: perl(Moose)
|
|
|
|
|
BuildRequires: perl(Moose::Autobox)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(Test::Builder)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
"Test::Strict" lets you check the syntax, presence of "use strict;" and
|
|
|
|
@ -34,7 +37,7 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -46,6 +49,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Mar 28 2014 Petr Šabata <contyk@redhat.com> - 0.23-1
|
|
|
|
|
- 0.23 bump, warnings and strict API change
|
|
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 0.22-2
|
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
|
|
|
|
|