f38
Petr Šabata 10 years ago
parent 0bccfdd792
commit 7662b62ed4

1
.gitignore vendored

@ -9,3 +9,4 @@ Test-Strict-0.13.tar.gz
/Test-Strict-0.23.tar.gz
/Test-Strict-0.24.tar.gz
/Test-Strict-0.26.tar.gz
/Test-Strict-0.27.tar.gz

@ -1,27 +1,34 @@
Name: perl-Test-Strict
Version: 0.26
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))
BuildArch: noarch
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(strict)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
BuildRequires: perl(vars)
Name: perl-Test-Strict
Version: 0.27
Release: 1%{?dist}
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
BuildArch: noarch
# Build
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Runtime
BuildRequires: perl(Config)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Spec)
BuildRequires: perl(FindBin)
BuildRequires: perl(Test::Builder)
# Tests only
BuildRequires: perl(File::Temp)
BuildRequires: perl(Test::More)
# Optional tests only
BuildRequires: perl(Moose::Autobox)
BuildRequires: perl(Test::CheckManifest) >= 1.28
BuildRequires: perl(Test::DistManifest) >= 1.012
BuildRequires: perl(Test::Version) >= 1.003001
BuildRequires: perl(Test::Pod) >= 1.48
BuildRequires: perl(Test::Pod::Coverage) >= 1.10
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
"Test::Strict" lets you check the syntax, presence of "use strict;" and
@ -32,15 +39,15 @@ BuildRequires: perl(vars)
%setup -q -n Test-Strict-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} +
%{_fixperms} %{buildroot}/*
%check
find . -type f -name '*.list' -exec rm -f {} +
make test
%files
@ -49,6 +56,9 @@ make test
%{_mandir}/man3/*.3*
%changelog
* Thu May 14 2015 Petr Šabata <contyk@redhat.com> - 0.27-1
- 0.27 bump
* Fri Oct 17 2014 Petr Šabata <contyk@redhat.com> - 0.26-1
- 0.26 bump

@ -1 +1 @@
d98079e22cc92dade29e5fe279ae7ccb Test-Strict-0.26.tar.gz
3d2e5635e503919d4ccb3dbbf615ef64 Test-Strict-0.27.tar.gz

Loading…
Cancel
Save