commit b0ad96885b880d8c16ebbac1ad2000b799dde534 Author: Marcela Mašláňová mmaslano@redhat.com Date: Tue Jun 28 19:21:53 2011 +0200
Perl mass rebuild add perl_bootstrap macro
perl-Sub-Install.spec | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) --- diff --git a/perl-Sub-Install.spec b/perl-Sub-Install.spec index a09577a..3331239 100644 --- a/perl-Sub-Install.spec +++ b/perl-Sub-Install.spec @@ -1,6 +1,6 @@ Name: perl-Sub-Install Version: 0.925 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Install subroutines into packages easily License: GPL+ or Artistic Group: Development/Libraries @@ -10,9 +10,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-# testing +%if !%{defined perl_bootstrap} BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage) BuildRequires: perl(Test::Perl::Critic) +%endif
%description This module makes it easy to install subroutines into packages without the @@ -40,7 +41,9 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ; # you'll note a number of tests are skipped due to Test::Output not being # present. However, Test::Output requires Sub::Exporter which requires... # Sub::Install. Holy circular loop, Batman! :) +%if !%{defined perl_bootstrap} make test +%endif
%clean rm -rf %{buildroot} @@ -52,6 +55,10 @@ rm -rf %{buildroot} %{_mandir}/man3/*
%changelog +* Tue Jun 28 2011 Marcela Mašláňová mmaslano@redhat.com - 0.925-9 +- Perl mass rebuild +- add perl_bootstrap macro + * Wed Feb 09 2011 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 0.925-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild