BR: perl(Package::Anon) if we have Perl ≥ 5.14

This commit is contained in:
Paul Howarth 2013-01-24 15:05:33 +00:00
parent 4dab8b52b8
commit 5996998871

View File

@ -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 <paul@city-fan.org> - 0.26-2
- BR: perl(Package::Anon) if we have Perl 5.14
* Fri Jan 4 2013 Paul Howarth <paul@city-fan.org> - 0.26-1
- Update to 0.26
- Internal refactorings to support Package::Anon stashes