|
|
|
@ -1,13 +1,14 @@
|
|
|
|
|
Name: perl-Devel-Cover
|
|
|
|
|
Version: 1.29
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 1.33
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: Code coverage metrics for Perl
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: http://search.cpan.org/dist/Devel-Cover/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/P/PJ/PJCJ/Devel-Cover-%{version}.tar.gz
|
|
|
|
|
URL: https://metacpan.org/release/Devel-Cover
|
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Devel/Devel-Cover-%{version}.tar.gz
|
|
|
|
|
# Build:
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
@ -23,13 +24,14 @@ BuildRequires: perl(B::Concise)
|
|
|
|
|
BuildRequires: perl(B::Debug)
|
|
|
|
|
BuildRequires: perl(B::Deparse)
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Browser::Open)
|
|
|
|
|
BuildRequires: perl(Browser::Open)
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Class::XSAccessor)
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
|
BuildRequires: perl(CPAN::DistnameInfo)
|
|
|
|
|
# CPAN::Releases::Latest not used at tests
|
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(Digest::MD5)
|
|
|
|
|
BuildRequires: perl(DynaLoader)
|
|
|
|
@ -40,45 +42,40 @@ BuildRequires: perl(File::Path)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
|
BuildRequires: perl(HTML::Entities)
|
|
|
|
|
# JSON or JSON::PP by Devel::Cover::DB::IO::JSON
|
|
|
|
|
BuildRequires: perl(JSON)
|
|
|
|
|
BuildRequires: perl(JSON::MaybeXS)
|
|
|
|
|
BuildRequires: perl(JSON::MaybeXS)
|
|
|
|
|
BuildRequires: perl(Moo)
|
|
|
|
|
BuildRequires: perl(namespace::clean)
|
|
|
|
|
BuildRequires: perl(Parallel::Iterator)
|
|
|
|
|
BuildRequires: perl(Pod::Usage)
|
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
|
BuildRequires: perl(PPI::HTML) >= 1.07
|
|
|
|
|
BuildRequires: perl(Sereal)
|
|
|
|
|
BuildRequires: perl(PPI::HTML) >= 1.07
|
|
|
|
|
BuildRequires: perl(Sereal)
|
|
|
|
|
BuildRequires: perl(Sereal::Decoder)
|
|
|
|
|
BuildRequires: perl(Sereal::Encoder)
|
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
|
BuildRequires: perl(Template) >= 2.00
|
|
|
|
|
BuildRequires: perl(Template::Provider)
|
|
|
|
|
BuildRequires: perl(Test)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
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
|
|
|
|
|
BuildRequires: perl(Test::Differences)
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(DBM::Deep)
|
|
|
|
|
BuildRequires: perl(experimental)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(Math::BigInt)
|
|
|
|
|
BuildRequires: perl(Moose)
|
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
|
BuildRequires: perl(Readonly)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
# Dependencies:
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(CPAN::DistnameInfo)
|
|
|
|
|
# CPAN::Releases::Latest not yet packaged
|
|
|
|
|
# JSON or JSON::PP by Devel::Cover::DB::IO::JSON
|
|
|
|
|
Requires: perl(JSON)
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
@ -97,7 +94,7 @@ indirect measure of quality.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Devel-Cover-%{version}
|
|
|
|
|
|
|
|
|
|
find lib -type f -print0 | xargs -0 chmod 0644
|
|
|
|
|
find lib -type f -print0 | xargs -0 chmod -c 0644
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
@ -107,22 +104,63 @@ make %{?_smp_mflags}
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -delete
|
|
|
|
|
%{_fixperms} -c $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README.md docs/BUGS docs/TODO
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%license LICENCE
|
|
|
|
|
%doc Changes Contributors README.md docs/BUGS docs/TODO
|
|
|
|
|
%{_bindir}/cover
|
|
|
|
|
%{_bindir}/cpancover
|
|
|
|
|
%{_bindir}/gcov2perl
|
|
|
|
|
%{perl_vendorarch}/Devel/
|
|
|
|
|
%{perl_vendorarch}/auto/Devel/
|
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
|
%{_mandir}/man1/cover.1*
|
|
|
|
|
%{_mandir}/man1/cpancover.1*
|
|
|
|
|
%{_mandir}/man1/gcov2perl.1*
|
|
|
|
|
%{_mandir}/man3/Devel::Cover*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Oct 24 2019 Paul Howarth <paul@city-fan.org> - 1.33-4
|
|
|
|
|
- Spec tidy-up
|
|
|
|
|
- Use author-independent source URL
|
|
|
|
|
- Drop now-redundant dependency on perl(JSON)
|
|
|
|
|
- Simplify find command using -empty
|
|
|
|
|
- Don't need to remove empty directories from the buildroot
|
|
|
|
|
- Fix permissions verbosely
|
|
|
|
|
- Package Contributors and LICENCE files
|
|
|
|
|
- Make %%files list more explicit
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-2
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 21 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-1
|
|
|
|
|
- 1.33 bump
|
|
|
|
|
|
|
|
|
|
* Thu Apr 25 2019 Tom Callaway <spot@fedoraproject.org> - 1.32-1
|
|
|
|
|
- update to 1.32
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 16 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-1
|
|
|
|
|
- 1.31 bump
|
|
|
|
|
|
|
|
|
|
* Tue Aug 07 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.30-1
|
|
|
|
|
- 1.30 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-3
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|