From 5996998871670bf1080597d333797236f0a5b51d Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Thu, 24 Jan 2013 15:05:33 +0000 Subject: [PATCH] =?UTF-8?q?BR:=20perl(Package::Anon)=20if=20we=20have=20Pe?= =?UTF-8?q?rl=20=E2=89=A5=205.14?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- perl-Package-Stash-XS.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/perl-Package-Stash-XS.spec b/perl-Package-Stash-XS.spec index 650e03a..24344b7 100644 --- a/perl-Package-Stash-XS.spec +++ b/perl-Package-Stash-XS.spec @@ -1,8 +1,6 @@ -# TODO: BR: perl(Package::Anon) when available - Name: perl-Package-Stash-XS Version: 0.26 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Faster and more correct implementation of the Package::Stash API Group: Development/Libraries License: GPL+ or Artistic @@ -16,6 +14,9 @@ BuildRequires: perl(constant) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Temp) BuildRequires: perl(lib) +%if %(perl -e 'print $] >= 5.014 ? 1 : 0;') +BuildRequires: perl(Package::Anon) +%endif BuildRequires: perl(Pod::Coverage::TrustPod) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::EOL) @@ -76,6 +77,9 @@ rm -rf %{buildroot} %{_mandir}/man3/Package::Stash::XS.3pm* %changelog +* Thu Jan 24 2013 Paul Howarth - 0.26-2 +- BR: perl(Package::Anon) if we have Perl ≥ 5.14 + * Fri Jan 4 2013 Paul Howarth - 0.26-1 - Update to 0.26 - Internal refactorings to support Package::Anon stashes