diff --git a/perl-Test-Script.spec b/perl-Test-Script.spec index 8a221ae..6079eb5 100644 --- a/perl-Test-Script.spec +++ b/perl-Test-Script.spec @@ -1,6 +1,6 @@ Name: perl-Test-Script Version: 1.07 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Cross-platform basic tests for scripts License: GPL+ or Artistic Group: Development/Libraries @@ -15,11 +15,12 @@ BuildRequires: perl(Probe::Perl) BuildRequires: perl(Test::More) # For improved tests +%if !%{defined perl_bootstrap} BuildRequires: perl(Test::CPAN::Meta) >= 0.12 BuildRequires: perl(Test::Pod) >= 1.26 BuildRequires: perl(Test::MinimumVersion) >= 0.008 BuildRequires: perl(Perl::MinimumVersion) >= 1.20 - +%endif Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -44,7 +45,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check +%if !%{defined perl_bootstrap} make test AUTOMATED_TESTING=1 RELEASE_TESTING=1 +%endif %clean rm -rf $RPM_BUILD_ROOT @@ -56,6 +59,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Tue Jun 28 2011 Marcela Mašláňová - 1.07-6 +- Perl mass rebuild +- perl_bootstrap macro + * Wed Feb 09 2011 Fedora Release Engineering - 1.07-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild