From 629e3a96fe403c8a5dc06228ce1b262ddffd72b8 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 18:43:53 +0200 Subject: [PATCH] Perl mass rebuild perl_bootstrap macro --- perl-Test-Script.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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