|
|
|
@ -1,15 +1,12 @@
|
|
|
|
|
# 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)
|
|
|
|
|
|
|
|
|
|
# Test::Kwalitee not yet available in EPEL < 6
|
|
|
|
|
%global extra_tests_available %(expr 0%{?fedora} + 0%{?rhel} '>' 5)
|
|
|
|
|
|
|
|
|
|
# Test::CPAN::Changes isn't available in EPEL-6 either, due to requirement of perl(version) ≥ 0.79
|
|
|
|
|
%global cpan_changes_available %(expr 0%{?fedora} + 0%{?rhel} '>' 6)
|
|
|
|
|
|
|
|
|
|
Name: perl-Package-DeprecationManager
|
|
|
|
|
Version: 0.13
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Manage deprecation warnings for your distribution
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: Artistic 2.0
|
|
|
|
@ -37,9 +34,6 @@ BuildRequires: perl(Test::Pod)
|
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
|
BuildRequires: perl(Test::Requires)
|
|
|
|
|
BuildRequires: perl(Test::Spelling), aspell-en
|
|
|
|
|
%if %{extra_tests_available}
|
|
|
|
|
BuildRequires: perl(Test::Kwalitee)
|
|
|
|
|
%endif
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -82,6 +76,9 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_mandir}/man3/Package::DeprecationManager.3pm*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Apr 23 2012 Paul Howarth <paul@city-fan.org> - 0.13-2
|
|
|
|
|
- Upstream has dropped Kwalitee test, so drop BR: perl(Test::Kwalitee)
|
|
|
|
|
|
|
|
|
|
* Fri Mar 9 2012 Paul Howarth <paul@city-fan.org> - 0.13-1
|
|
|
|
|
- Update to 0.13:
|
|
|
|
|
- Fix dist.ini to not add Test::Spelling as a requirement
|
|
|
|
|