f38
Petr Šabata 12 years ago
parent 893702a1bc
commit 6c53bacf58

1
.gitignore vendored

@ -1,2 +1,3 @@
Test-Strict-0.13.tar.gz
/Test-Strict-0.14.tar.gz
/Test-Strict-0.17.tar.gz

@ -1,23 +1,20 @@
Name: perl-Test-Strict
Version: 0.14
Release: 5%{?dist}
Version: 0.17
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/P/PD/PDENIS/Test-Strict-%{version}.tar.gz
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(ExtUtils::MakeMaker)
BuildRequires: perl(Devel::Cover) >= 0.43
BuildRequires: perl(File::Find) >= 0.01
BuildRequires: perl(File::Spec) >= 0.01
BuildRequires: perl(File::Temp) >= 0.01
BuildRequires: perl(FindBin) >= 0.01
BuildRequires: perl(Test::Builder) >= 0.01
BuildRequires: perl(Test::Simple) >= 0.47
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Temp)
BuildRequires: perl(FindBin)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
@ -30,26 +27,29 @@ BuildRequires: perl(Test::Pod)
%setup -q -n Test-Strict-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=%{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/*
%check
make test
%files
%defattr(-,root,root,-)
%doc README Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Thu Jan 03 2013 Petr Šabata <contyk@redhat.com> - 0.17-1
- 0.17 bump
- Modernize the spec a bit
- Remove unused build dependencies
- Update source URL
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

@ -1 +1 @@
d1ef5921787195141ba47b017cd5bce5 Test-Strict-0.14.tar.gz
5dfef28499d8c7cdede5cfeb19709e2d Test-Strict-0.17.tar.gz

Loading…
Cancel
Save