update to 0.78

epel9
Iain Arnell 14 years ago
parent aecdcde911
commit a1cbab94f8

1
.gitignore vendored

@ -1 +1,2 @@
Devel-Cover-0.66.tar.gz Devel-Cover-0.66.tar.gz
/Devel-Cover-0.78.tar.gz

@ -1,19 +1,21 @@
Name: perl-Devel-Cover Name: perl-Devel-Cover
Version: 0.66 Version: 0.78
Release: 3%{?dist} Release: 1%{?dist}
Summary: Code coverage metrics for Perl Summary: Code coverage metrics for Perl
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Devel-Cover/ URL: http://search.cpan.org/dist/Devel-Cover/
Source0: http://www.cpan.org/authors/id/P/PJ/PJCJ/Devel-Cover-%{version}.tar.gz 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(Template)
BuildRequires: perl(PPI::HTML) >= 1.07 BuildRequires: perl(PPI::HTML) >= 1.07
BuildRequires: perl(Perl::Tidy) >= 20060719 BuildRequires: perl(Perl::Tidy) >= 20060719
BuildRequires: perl(Pod::Coverage) BuildRequires: perl(Pod::Coverage)
BuildRequires: perl(Test::Differences) BuildRequires: perl(Test::Differences)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Warn)
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Pod::Coverage) Requires: perl(Pod::Coverage)
@ -22,6 +24,7 @@ Requires: perl(Test::Differences)
# Requires: perl(PPI::HTML) >= 1.07 # Requires: perl(PPI::HTML) >= 1.07
# Requires: perl(Perl::Tidy) >= 20060719 # Requires: perl(Perl::Tidy) >= 20060719
%{?perl_default_filter}
%description %description
This module provides code coverage metrics for Perl. This module provides code coverage metrics for Perl.
@ -30,6 +33,7 @@ This module provides code coverage metrics for Perl.
%prep %prep
%setup -q -n Devel-Cover-%{version} %setup -q -n Devel-Cover-%{version}
find lib -type f -print0 | xargs -0 chmod 0644
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
@ -37,7 +41,6 @@ make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT
make pure_install DESTDIR=$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 .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -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 make test
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %doc CHANGES README docs/BUGS docs/TODO
%doc BUGS CHANGES README TODO all_versions cpancover create_gold session.vim
%{_bindir}/* %{_bindir}/*
%{perl_vendorarch}/Devel/ %{perl_vendorarch}/Devel/
%{perl_vendorarch}/auto/Devel/ %{perl_vendorarch}/auto/Devel/
@ -64,6 +62,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* 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
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.66-3 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

@ -1 +1 @@
db1a982fc82454c4f5a2d8edcc857cf3 Devel-Cover-0.66.tar.gz fd26cd6df23bc3f2c38324884c976718 Devel-Cover-0.78.tar.gz

Loading…
Cancel
Save