From 481fc729d1a04e8bf6592b318fbdac583f0df768 Mon Sep 17 00:00:00 2001 From: Jose Pedro Oliveira Date: Fri, 12 May 2006 16:57:18 +0000 Subject: [PATCH] auto-import perl-Devel-Cover-0.55-2 on branch devel from perl-Devel-Cover-0.55-2.src.rpm --- .cvsignore | 1 + perl-Devel-Cover.spec | 65 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 67 insertions(+) create mode 100644 perl-Devel-Cover.spec diff --git a/.cvsignore b/.cvsignore index e69de29..1363a08 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Devel-Cover-0.55.tar.gz diff --git a/perl-Devel-Cover.spec b/perl-Devel-Cover.spec new file mode 100644 index 0000000..69aa49d --- /dev/null +++ b/perl-Devel-Cover.spec @@ -0,0 +1,65 @@ +Name: perl-Devel-Cover +Version: 0.55 +Release: 2%{?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(Template) +BuildRequires: perl(Pod::Coverage) +BuildRequires: perl(Test::Differences) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Pod::Coverage) +Requires: perl(Test::Differences) + +%description +This module provides code coverage metrics for Perl. + + +%prep +%setup -q -n Devel-Cover-%{version} +chmod -c a-x buildperl + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +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 -type f -name '*.bs' -empty -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc BUGS CHANGES README TODO all_versions buildperl cpancover create_gold session.vim +%{_bindir}/* +%{perl_vendorarch}/Devel/ +%{perl_vendorarch}/auto/Devel/ +%{_mandir}/man1/*.1* +%{_mandir}/man3/*.3pm* + + +%changelog +* Fri May 12 2006 Jose Pedro Oliveira - 0.55-2 +- Removed dependencies pulled in by a documentation file (#191110). + +* Thu May 04 2006 Jose Pedro Oliveira - 0.55-1 +- First build. diff --git a/sources b/sources index e69de29..fae7c10 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6bb9ddcd7a9e4d87c02b8bbea7ad3c4a Devel-Cover-0.55.tar.gz