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