From d1e75a2edf6b0a763fecefcb01edacdc0f495ed2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Tue, 28 Jun 2011 13:14:01 +0200 Subject: [PATCH] rebuild with Perl 5.14.1 use perl_bootstrap macro --- perl-PPI.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/perl-PPI.spec b/perl-PPI.spec index b9e99cb..a89dbe0 100644 --- a/perl-PPI.spec +++ b/perl-PPI.spec @@ -1,6 +1,6 @@ Name: perl-PPI Version: 1.215 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Parse, Analyze and Manipulate Perl Group: Development/Libraries License: GPL+ or Artistic @@ -17,11 +17,12 @@ BuildRequires: perl(Digest::MD5) >= 2.35 # CPAN modules BuildRequires: perl(Clone) >= 0.30 BuildRequires: perl(File::Find::Rule) >= 0.32 -BuildRequires: perl(File::Find::Rule::Perl) >= 1.09 BuildRequires: perl(File::Remove) >= 1.42 BuildRequires: perl(IO::String) >= 1.07 BuildRequires: perl(List::MoreUtils) >= 0.16 BuildRequires: perl(Params::Util) >= 1.00 +%if !%{defined perl_bootstrap} +BuildRequires: perl(File::Find::Rule::Perl) >= 1.09 BuildRequires: perl(Perl::MinimumVersion) >= 1.25 BuildRequires: perl(Task::Weaken) BuildRequires: perl(Test::ClassAPI) >= 1.04 @@ -31,6 +32,7 @@ BuildRequires: perl(Test::NoWarnings) >= 0.084 BuildRequires: perl(Test::Object) >= 0.07 BuildRequires: perl(Test::Pod) >= 1.44 BuildRequires: perl(Test::SubCalls) >= 1.07 +%endif Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -62,9 +64,10 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' %check +%if !%{defined perl_bootstrap} make test make test TEST_FILES="xt/*.t" RELEASE_TESTING=1 - +%endif %clean rm -rf $RPM_BUILD_ROOT @@ -79,6 +82,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Jun 28 2011 Marcela Mašláňová - 1.215-2 +- rebuild with Perl 5.14.1 +- use perl_bootstrap macro + * Sun Mar 27 2011 Paul Howarth - 1.215-1 - update to 1.215 (general fix release): - index_locations on an empty document no longer warns