commit d359682677a11c00d6133383fb305d7f3a650bab
Author: Paul Howarth <[email protected]>
Date: Mon Jun 20 14:40:16 2011 +0100
BR: perl(ExtUtils::MakeMaker)
perl-Package-DeprecationManager.spec | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/perl-Package-DeprecationManager.spec
b/perl-Package-DeprecationManager.spec
index c02262e..04b115d 100644
--- a/perl-Package-DeprecationManager.spec
+++ b/perl-Package-DeprecationManager.spec
@@ -1,5 +1,5 @@
-# We don't really need ExtUtils::MakeMaker > 6.31
-%global old_eumm %(%{__perl} -MExtUtils::MakeMaker -e 'printf "%d\\n",
$ExtUtils::MakeMaker::VERSION < 6.31 ? 1 : 0;' 2>/dev/null || echo 0)
+# We don't really need ExtUtils::MakeMaker ≥ 6.30
+%global old_eumm %(%{__perl} -MExtUtils::MakeMaker -e 'printf "%d\\n",
$ExtUtils::MakeMaker::VERSION < 6.30 ? 1 : 0;' 2>/dev/null || echo 0)
# We need to patch the test suite if we have an old version of Test::More
%global old_test_more %(%{__perl} -MTest::More -e 'printf "%d\\n",
$Test::More::VERSION < 0.88 ? 1 : 0;' 2>/dev/null || echo 0)
@@ -24,6 +24,7 @@ Patch2:
Package-DeprecationManager-0.10-no-Test::Requires.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Carp)
+BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Params::Util)
BuildRequires: perl(Sub::Install)
@@ -54,7 +55,7 @@ the version when that feature was deprecated.
%prep
%setup -q -n Package-DeprecationManager-%{version}
-# We don't really need ExtUtils::MakeMaker > 6.31
+# We don't really need ExtUtils::MakeMaker ≥ 6.30
%if %{old_eumm}
%patch0 -p1
%endif
@@ -96,6 +97,7 @@ rm -rf %{buildroot}
* Mon Jun 20 2011 Paul Howarth <[email protected]> - 0.11-1
- Update to 0.11:
- Allow an empty hash for the -deprecations parameter
+- BR: perl(ExtUtils::MakeMaker)
- BR: perl(Test::CPAN::Changes)
- BR: perl(Pod::Coverage::TrustPod) unconditionally
- Update patches for old ExtUtils::MakeMaker and Test::More compatibility
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel