commit f5994a9a4f6144edb6b2936aebeb37bc9e508d3e Author: Marcela Mašláňová mmaslano@redhat.com Date: Tue Jun 28 19:45:15 2011 +0200
Perl mass rebuild add perl_bootstrap macro
perl-Data-OptList.spec | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) --- diff --git a/perl-Data-OptList.spec b/perl-Data-OptList.spec index fae6f61..1678e04 100644 --- a/perl-Data-OptList.spec +++ b/perl-Data-OptList.spec @@ -1,7 +1,7 @@ Name: perl-Data-OptList Summary: Parse and validate simple name/value option pairs Version: 0.107 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-%%7Bversion%7D... @@ -13,8 +13,9 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(List::Util) BuildRequires: perl(Params::Util) BuildRequires: perl(Sub::Install) >= 0.921 +%if !%{defined perl_bootstrap} BuildRequires: perl(Test::Pod) - +%endif
%{?perl_default_filter} %{?perl_default_subpackage_tests} @@ -40,7 +41,9 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ; %{_fixperms} %{buildroot}/*
%check +%if !%{defined perl_bootstrap} make test +%endif
%files %doc Changes README @@ -48,6 +51,10 @@ make test %{_mandir}/man3/*
%changelog +* Tue Jun 28 2011 Marcela Mašláňová mmaslano@redhat.com - 0.107-2 +- Perl mass rebuild +- add perl_bootstrap macro + * Wed May 11 2011 Iain Arnell iarnell@gmail.com 0.107-1 - update to latest upstream version - clean up spec for modern rpmbuild