2006-05-12 16:57:18 +00:00
|
|
|
Name: perl-Devel-Cover
|
2015-09-21 15:10:17 +00:00
|
|
|
Version: 1.21
|
2016-02-04 13:18:33 +00:00
|
|
|
Release: 2%{?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
|
2015-07-22 12:07:44 +00:00
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(File::Copy)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Run-time:
|
|
|
|
BuildRequires: perl(B)
|
|
|
|
BuildRequires: perl(B::Concise)
|
2012-06-21 12:00:58 +00:00
|
|
|
BuildRequires: perl(B::Debug)
|
2015-07-22 12:07:44 +00:00
|
|
|
BuildRequires: perl(B::Deparse)
|
|
|
|
BuildRequires: perl(base)
|
2012-06-21 12:00:58 +00:00
|
|
|
BuildRequires: perl(Carp)
|
2015-07-22 12:07:44 +00:00
|
|
|
BuildRequires: perl(Class::XSAccessor)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
# CPAN::Releases::Latest not used at tests
|
2012-06-21 12:00:58 +00:00
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(Digest::MD5)
|
|
|
|
BuildRequires: perl(DynaLoader)
|
|
|
|
BuildRequires: perl(Exporter)
|
2015-07-22 12:07:44 +00:00
|
|
|
BuildRequires: perl(Fcntl)
|
|
|
|
BuildRequires: perl(File::Find)
|
2012-06-21 12:00:58 +00:00
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
BuildRequires: perl(File::Spec)
|
2015-07-22 12:07:44 +00:00
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
BuildRequires: perl(HTML::Entities)
|
|
|
|
# JSON or JSON::PP by Devel::Cover::DB::IO::JSON
|
|
|
|
BuildRequires: perl(JSON)
|
|
|
|
BuildRequires: perl(Moo)
|
|
|
|
BuildRequires: perl(namespace::clean)
|
2012-06-21 12:00:58 +00:00
|
|
|
BuildRequires: perl(Parallel::Iterator)
|
|
|
|
BuildRequires: perl(Pod::Usage)
|
2015-07-22 12:07:44 +00:00
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
BuildRequires: perl(Sereal::Decoder)
|
|
|
|
BuildRequires: perl(Sereal::Encoder)
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
BuildRequires: perl(Template) >= 2.00
|
2012-06-21 12:00:58 +00:00
|
|
|
BuildRequires: perl(Template::Provider)
|
|
|
|
BuildRequires: perl(Test)
|
2015-07-22 12:07:44 +00:00
|
|
|
BuildRequires: perl(Time::HiRes)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
# Optional run-time:
|
|
|
|
# Browser::Open not used at tests
|
|
|
|
# (PPI && PPI::HTML 1.07) || Perl::Tidy 20060719
|
|
|
|
# Perl::Tidy 20060719 not used at tests
|
|
|
|
BuildRequires: perl(Pod::Coverage) >= 0.06
|
|
|
|
BuildRequires: perl(Pod::Coverage::CountParents)
|
|
|
|
# PPI::HTML 1.07 not used at tests
|
2006-05-12 16:57:18 +00:00
|
|
|
BuildRequires: perl(Test::Differences)
|
2015-07-22 12:07:44 +00:00
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(DBM::Deep)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Math::BigInt)
|
|
|
|
BuildRequires: perl(Moose)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(Readonly)
|
2011-05-19 03:20:59 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
2006-05-12 16:57:18 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2015-07-22 12:07:44 +00:00
|
|
|
# CPAN::Releases::Latest not yet packaged
|
|
|
|
# JSON or JSON::PP by Devel::Cover::DB::IO::JSON
|
|
|
|
Requires: perl(JSON)
|
2006-09-06 19:12:30 +00:00
|
|
|
|
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\\)
|
2015-07-22 12:07:44 +00:00
|
|
|
# Fiter under-specified dependencies
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Template\\)$
|
2012-06-22 13:38:39 +00:00
|
|
|
|
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
|
2015-09-21 15:10:17 +00:00
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
2012-11-13 15:46:32 +00:00
|
|
|
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
|
2016-02-04 13:18:33 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-09-21 15:10:17 +00:00
|
|
|
* Mon Sep 21 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-1
|
|
|
|
- 1.21 bump
|
|
|
|
|
2015-07-22 12:07:44 +00:00
|
|
|
* Wed Jul 22 2015 Petr Pisar <ppisar@redhat.com> - 1.20-2
|
|
|
|
- Specify all dependencies
|
|
|
|
|
2015-07-06 13:50:16 +00:00
|
|
|
* Mon Jul 6 2015 Tom Callaway <spot@fedoraproject.org> - 1.20-1
|
|
|
|
- update to 1.20
|
|
|
|
|
2015-06-18 02:41:08 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-06 22:55:51 +00:00
|
|
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2015-04-08 18:58:37 +00:00
|
|
|
* Wed Apr 8 2015 Tom Callaway <spot@fedoraproject.org> - 1.18-1
|
|
|
|
- update to 1.18
|
|
|
|
|
2015-03-30 19:04:20 +00:00
|
|
|
* Mon Mar 30 2015 Tom Callaway <spot@fedoraproject.org> - 1.17-1
|
|
|
|
- update to 1.17
|
|
|
|
|
2014-08-29 12:40:39 +00:00
|
|
|
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-3
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-08-17 16:02:10 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
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.
|