From dca5e955c9984d425633be8ad86b1ed8b6af056c 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:31:55 +0200 Subject: [PATCH] Perl mass rebuild add perl_bootstrap macro --- perl-File-Which.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/perl-File-Which.spec b/perl-File-Which.spec index 6539955..b04f34f 100644 --- a/perl-File-Which.spec +++ b/perl-File-Which.spec @@ -1,6 +1,6 @@ Name: perl-File-Which Version: 1.09 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Portable implementation of the 'which' utility Group: Development/Libraries @@ -10,7 +10,10 @@ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/File-Which-%{version}. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::Script) +BuildRequires: perl(ExtUtils::MakeMaker) +%if !%{defined perl_bootstrap} +BuildRequires: perl(Test::Script) +%endif Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -39,8 +42,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %check +%if !%{defined perl_bootstrap} make test - +%endif %clean rm -rf $RPM_BUILD_ROOT @@ -56,6 +60,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Jun 28 2011 Marcela Mašláňová - 1.09-6 +- Perl mass rebuild +- add perl_bootstrap macro + * Tue Feb 08 2011 Fedora Release Engineering - 1.09-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild