BR: perl(Package::Anon) if we have Perl ≥ 5.14
This commit is contained in:
parent
83475be475
commit
5c0d64b718
@ -1,11 +1,9 @@
|
||||
# We need to patch the test suite if we have an old version of Test::More
|
||||
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
|
||||
|
||||
# TODO: BR: perl(Package::Anon) for test suite when available
|
||||
|
||||
Name: perl-Package-Stash
|
||||
Version: 0.34
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Routines for manipulating stashes
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
@ -31,6 +29,9 @@ BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Requires)
|
||||
# Optional tests:
|
||||
%if ! (0%{?rhel} >= 7)
|
||||
%if %(perl -e 'print $] >= 5.014 ? 1 : 0;')
|
||||
BuildRequires: perl(Package::Anon)
|
||||
%endif
|
||||
BuildRequires: perl(Pod::Coverage::TrustPod)
|
||||
BuildRequires: perl(Test::EOL)
|
||||
BuildRequires: perl(Test::LeakTrace)
|
||||
@ -85,6 +86,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Package::Stash::PP.3pm*
|
||||
|
||||
%changelog
|
||||
* Thu Jan 24 2013 Paul Howarth <paul@city-fan.org> - 0.34-2
|
||||
- BR: perl(Package::Anon) if we have Perl ≥ 5.14
|
||||
|
||||
* Sun Jan 6 2013 Paul Howarth <paul@city-fan.org> - 0.34-1
|
||||
- Update to 0.34
|
||||
- Support anonymous stashes on newer perl versions
|
||||
|
Loading…
Reference in New Issue
Block a user