|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Devel-Cover
|
|
|
|
|
Version: 0.89
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.97
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Code coverage metrics for Perl
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -19,6 +19,7 @@ BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(Digest::MD5)
|
|
|
|
|
BuildRequires: perl(DynaLoader)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(JSON::PP)
|
|
|
|
@ -29,6 +30,7 @@ BuildRequires: perl(Perl::Tidy) >= 20060719
|
|
|
|
|
BuildRequires: perl(Pod::Coverage) >= 0.06
|
|
|
|
|
BuildRequires: perl(Pod::Coverage::CountParents)
|
|
|
|
|
BuildRequires: perl(Pod::Usage)
|
|
|
|
|
BuildRequires: perl(PPI::HTML) >= 1.07
|
|
|
|
|
BuildRequires: perl(Template::Provider)
|
|
|
|
|
BuildRequires: perl(Test)
|
|
|
|
|
BuildRequires: perl(Test::Differences)
|
|
|
|
@ -48,8 +50,11 @@ Requires: perl(Test::Differences)
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Devel::Cover::Dumper\\)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This module provides code coverage metrics for Perl.
|
|
|
|
|
|
|
|
|
|
This module provides code coverage metrics for Perl. Code coverage metrics
|
|
|
|
|
describe how thoroughly tests exercise code. By using Devel::Cover you can
|
|
|
|
|
discover areas of code not exercised by your tests and determine which
|
|
|
|
|
tests to create to increase coverage. Code coverage can be considered as an
|
|
|
|
|
indirect measure of quality.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Devel-Cover-%{version}
|
|
|
|
@ -62,12 +67,13 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
@ -83,6 +89,9 @@ make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 13 2012 Marcela Mašláňová <mmaslano@redhat.com> 0.97-1
|
|
|
|
|
- Bump the release.
|
|
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.89-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|