From 92a3f34db79700af5240bed300c52915b9593c45 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova <jples...@redhat.com> Date: Thu, 18 Feb 2016 11:32:20 +0100 Subject: Package cleanup
--- perl-ExtUtils-MakeMaker-Coverage.spec | 40 +++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/perl-ExtUtils-MakeMaker-Coverage.spec b/perl-ExtUtils-MakeMaker-Coverage.spec index 5e9e09e..02caa07 100644 --- a/perl-ExtUtils-MakeMaker-Coverage.spec +++ b/perl-ExtUtils-MakeMaker-Coverage.spec @@ -1,21 +1,30 @@ Name: perl-ExtUtils-MakeMaker-Coverage Version: 0.05 -Release: 24%{?dist} +Release: 25%{?dist} Summary: Allows perl modules to check test coverage with Devel::Cover -Group: Development/Libraries License: GPL+ or Artistic URL: http://backpan.perl.org/authors/id/S/SM/SMPETERS/ Source0: %{url}ExtUtils-MakeMaker-Coverage-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker), perl(Object::Accessor) -BuildRequires: perl(Test::More), perl(Test::Pod), perl(Test::Pod::Coverage) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -# rpm doesn't catch these (BZ 490743) -Requires: perl(Object::Accessor), perl(Devel::Cover) +BuildRequires: coreutils +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time +BuildRequires: perl(base) +BuildRequires: perl(Devel::Cover) +BuildRequires: perl(Object::Accessor) +# Tests +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Devel::Cover) %description This module adds an additional target to the Makefile generated by @@ -30,15 +39,12 @@ was run, then calls cover again to generate the coverage statistics. %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install -rm -rf $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 -depth -type d -exec rmdir {} 2>/dev/null ';' +make pure_install DESTDIR=$RPM_BUILD_ROOT chmod -R u+w $RPM_BUILD_ROOT/* @@ -46,18 +52,16 @@ chmod -R u+w $RPM_BUILD_ROOT/* make test -%clean -rm -rf $RPM_BUILD_ROOT - - %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/ExtUtils/MakeMaker/Coverage.pm %{_mandir}/man3/*.3* %{_bindir}/testcover %changelog +* Thu Feb 18 2016 Jitka Plesnikova <jples...@redhat.com> - 0.05-25 +- Package cleanup + * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 0.05-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-ExtUtils-MakeMaker-Coverage.git/commit/?h=master&id=92a3f34db79700af5240bed300c52915b9593c45 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org