2006-05-12 16:57:18 +00:00
|
|
|
Name: perl-Devel-Cover
|
2014-08-04 07:45:48 +00:00
|
|
|
Version: 1.09
|
|
|
|
Release: 1%{?dist}
|
2006-05-12 16:57:18 +00:00
|
|
|
Summary: Code coverage metrics for Perl
|
|
|
|
Group: Development/Libraries
|
2007-10-15 19:37:59 +00:00
|
|
|
License: GPL+ or Artistic
|
2006-05-12 16:57:18 +00:00
|
|
|
URL: http://search.cpan.org/dist/Devel-Cover/
|
|
|
|
Source0: http://www.cpan.org/authors/id/P/PJ/PJCJ/Devel-Cover-%{version}.tar.gz
|
2012-06-21 12:00:58 +00:00
|
|
|
BuildRequires: perl(autodie)
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(B::Debug)
|
|
|
|
BuildRequires: perl(Browser::Open)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(CGI)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(Digest::MD5)
|
|
|
|
BuildRequires: perl(DynaLoader)
|
|
|
|
BuildRequires: perl(Exporter)
|
2012-11-13 15:46:32 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2012-06-21 12:00:58 +00:00
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
BuildRequires: perl(File::Spec)
|
2011-05-19 03:20:59 +00:00
|
|
|
BuildRequires: perl(JSON::PP)
|
2012-06-21 12:00:58 +00:00
|
|
|
BuildRequires: perl(Template) >= 2.00
|
2006-08-04 01:24:36 +00:00
|
|
|
BuildRequires: perl(PPI::HTML) >= 1.07
|
2012-06-21 12:00:58 +00:00
|
|
|
BuildRequires: perl(Parallel::Iterator)
|
2006-08-04 01:24:36 +00:00
|
|
|
BuildRequires: perl(Perl::Tidy) >= 20060719
|
2012-06-21 12:00:58 +00:00
|
|
|
BuildRequires: perl(Pod::Coverage) >= 0.06
|
|
|
|
BuildRequires: perl(Pod::Coverage::CountParents)
|
|
|
|
BuildRequires: perl(Pod::Usage)
|
2012-11-13 15:46:32 +00:00
|
|
|
BuildRequires: perl(PPI::HTML) >= 1.07
|
2012-06-21 12:00:58 +00:00
|
|
|
BuildRequires: perl(Template::Provider)
|
|
|
|
BuildRequires: perl(Test)
|
2006-05-12 16:57:18 +00:00
|
|
|
BuildRequires: perl(Test::Differences)
|
2011-05-19 03:20:59 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::Warn)
|
2007-10-15 19:37:59 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2006-05-12 16:57:18 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(Pod::Coverage)
|
|
|
|
Requires: perl(Test::Differences)
|
2006-09-06 19:12:30 +00:00
|
|
|
# Optional modules
|
|
|
|
# Requires: perl(PPI::HTML) >= 1.07
|
|
|
|
# Requires: perl(Perl::Tidy) >= 20060719
|
|
|
|
|
2011-05-19 03:20:59 +00:00
|
|
|
%{?perl_default_filter}
|
2006-05-12 16:57:18 +00:00
|
|
|
|
2012-06-22 13:38:39 +00:00
|
|
|
# Filter private modules
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Devel::Cover::Dumper\\)
|
|
|
|
|
2006-05-12 16:57:18 +00:00
|
|
|
%description
|
2012-11-13 15:46:32 +00:00
|
|
|
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.
|
2006-05-12 16:57:18 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Devel-Cover-%{version}
|
|
|
|
|
2011-05-19 03:20:59 +00:00
|
|
|
find lib -type f -print0 | xargs -0 chmod 0644
|
2006-05-12 16:57:18 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
2012-11-13 15:46:32 +00:00
|
|
|
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/*
|
2006-05-12 16:57:18 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
2012-06-21 12:00:58 +00:00
|
|
|
%doc Changes README docs/BUGS docs/TODO
|
2006-05-12 16:57:18 +00:00
|
|
|
%{_bindir}/*
|
|
|
|
%{perl_vendorarch}/Devel/
|
|
|
|
%{perl_vendorarch}/auto/Devel/
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
|
|
|
|
%changelog
|
2014-08-04 07:45:48 +00:00
|
|
|
* Mon Aug 04 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-1
|
|
|
|
- 1.09 bump
|
|
|
|
|
2014-06-07 03:22:08 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 19:58:21 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-08-02 15:34:30 +00:00
|
|
|
* Fri Aug 02 2013 Petr Pisar <ppisar@redhat.com> - 1.03-2
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-05-24 21:07:16 +00:00
|
|
|
* Fri May 24 2013 Tom Callaway <spot@fedoraproject.org> - 1.03-1
|
|
|
|
- update to 1.03
|
|
|
|
|
2013-02-14 11:56:49 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.97-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-13 15:46:32 +00:00
|
|
|
* Tue Nov 13 2012 Marcela Mašláňová <mmaslano@redhat.com> 0.97-1
|
|
|
|
- Bump the release.
|
|
|
|
|
2012-07-20 14:43:01 +00:00
|
|
|
* 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
|
|
|
|
|
2012-06-23 20:17:18 +00:00
|
|
|
* Sat Jun 23 2012 Petr Pisar <ppisar@redhat.com> - 0.89-4
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-06-22 13:38:39 +00:00
|
|
|
* Fri Jun 22 2012 Petr Pisar <ppisar@redhat.com> - 0.89-3
|
|
|
|
- Do not require private Devel::Cover::Dumper module
|
|
|
|
|
2012-06-21 19:20:32 +00:00
|
|
|
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 0.89-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-06-21 12:00:58 +00:00
|
|
|
* Thu Jun 21 2012 Jitka Plesnikova <jplesnik@redhat.com> 0.89-1
|
|
|
|
- update to 0.89
|
2012-06-21 09:49:33 +00:00
|
|
|
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 0.78-4
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-01-13 13:28:30 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.78-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-07-19 09:40:15 +00:00
|
|
|
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.78-2
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-05-19 03:20:59 +00:00
|
|
|
* Thu May 19 2011 Iain Arnell <iarnell@gmail.com> 0.78-1
|
|
|
|
- update to latest upstream version
|
|
|
|
- clean up spec for modern rpmbuild
|
|
|
|
- use perl_default_filter
|
|
|
|
|
2011-02-08 21:13:23 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.66-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-12-16 08:42:32 +00:00
|
|
|
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.66-2
|
|
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
|
2010-05-07 09:13:08 +00:00
|
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.66-1
|
|
|
|
- Mass rebuild with perl-5.12.0 & update
|
2010-04-30 18:53:00 +00:00
|
|
|
|
2010-04-30 14:26:22 +00:00
|
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.65-2
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2010-01-14 23:03:33 +00:00
|
|
|
* Thu Jan 14 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.65-1
|
|
|
|
- update to 0.65
|
|
|
|
|
2009-12-07 08:39:40 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.64-4
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-07-26 05:40:54 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.64-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 15:08:08 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.64-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-06-13 20:32:11 +00:00
|
|
|
* Fri Jun 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.64-1
|
|
|
|
- update to 0.64
|
|
|
|
|
2008-03-07 01:59:30 +00:00
|
|
|
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.63-3
|
2008-06-13 20:32:11 +00:00
|
|
|
- Rebuild for new perl
|
2008-03-07 01:59:30 +00:00
|
|
|
|
2008-02-20 01:33:09 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.63-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-11-28 19:05:13 +00:00
|
|
|
* Wed Nov 28 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.63-1
|
|
|
|
- 0.63
|
|
|
|
|
2007-10-15 19:37:59 +00:00
|
|
|
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.61-1.1
|
|
|
|
- correct license tag
|
|
|
|
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
|
|
2007-01-11 14:38:55 +00:00
|
|
|
* Thu Jan 11 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.61-1
|
|
|
|
- Update to 0.61.
|
|
|
|
|
2007-01-04 20:58:12 +00:00
|
|
|
* Thu Jan 4 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.60-1
|
|
|
|
- Update to 0.60.
|
|
|
|
|
2006-09-06 19:12:30 +00:00
|
|
|
* Wed Sep 6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.59-1
|
|
|
|
- Update to 0.59.
|
|
|
|
- Dropped PPI::HTML from the requirements list (optional module).
|
|
|
|
|
2006-08-09 17:01:44 +00:00
|
|
|
* Wed Aug 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.58-1
|
|
|
|
- Update to 0.58.
|
|
|
|
|
2006-08-04 01:24:36 +00:00
|
|
|
* Fri Aug 4 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.57-1
|
|
|
|
- Update to 0.57.
|
|
|
|
|
2006-08-03 13:31:32 +00:00
|
|
|
* Thu Aug 3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.56-1
|
|
|
|
- Update to 0.56.
|
|
|
|
|
2006-05-12 16:57:18 +00:00
|
|
|
* Fri May 12 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.55-2
|
|
|
|
- Removed dependencies pulled in by a documentation file (#191110).
|
|
|
|
|
|
|
|
* Thu May 04 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.55-1
|
|
|
|
- First build.
|