[perl-Devel-Cover] update to 0.78

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit a1cbab94f8de06ffd48a35a96496da7ba7ce1812
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Thu May 19 05:20:59 2011 +0200

    update to 0.78

 .gitignore            |    1 +
 perl-Devel-Cover.spec |   23 +++++++++++++----------
 sources               |    2 +-
 3 files changed, 15 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7967f4f..6034d06 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Devel-Cover-0.66.tar.gz
+/Devel-Cover-0.78.tar.gz
diff --git a/perl-Devel-Cover.spec b/perl-Devel-Cover.spec
index 3402b10..4176ecb 100644
--- a/perl-Devel-Cover.spec
+++ b/perl-Devel-Cover.spec
@@ -1,19 +1,21 @@
 Name:           perl-Devel-Cover
-Version:        0.66
-Release:        3%{?dist}
+Version:        0.78
+Release:        1%{?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
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+BuildRequires:  perl(JSON::PP)
 BuildRequires:  perl(Template)
 BuildRequires:  perl(PPI::HTML) >= 1.07
 BuildRequires:  perl(Perl::Tidy) >= 20060719
 BuildRequires:  perl(Pod::Coverage)
 BuildRequires:  perl(Test::Differences)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Warn)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       perl(Pod::Coverage)
@@ -22,6 +24,7 @@ Requires:       perl(Test::Differences)
 # Requires:       perl(PPI::HTML) >= 1.07
 # Requires:       perl(Perl::Tidy) >= 20060719
 
+%{?perl_default_filter}
 
 %description
 This module provides code coverage metrics for Perl.
@@ -30,6 +33,7 @@ This module provides code coverage metrics for Perl.
 %prep
 %setup -q -n Devel-Cover-%{version}
 
+find lib -type f -print0 | xargs -0 chmod 0644
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
@@ -37,7 +41,6 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 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 {} ';'
@@ -49,13 +52,8 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
-%doc BUGS CHANGES README TODO all_versions cpancover create_gold session.vim
+%doc CHANGES README docs/BUGS docs/TODO
 %{_bindir}/*
 %{perl_vendorarch}/Devel/
 %{perl_vendorarch}/auto/Devel/
@@ -64,6 +62,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu May 19 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.78-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+- use perl_default_filter
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.66-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 32ea7ab..8a4fde4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-db1a982fc82454c4f5a2d8edcc857cf3  Devel-Cover-0.66.tar.gz
+fd26cd6df23bc3f2c38324884c976718  Devel-Cover-0.78.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux