[perl-Params-Util/el5] - Upstream update. - Conditionally BR: perl(Test::CPAN::Meta). - Hack testsuite to accept Test::CPAN
Paul Howarth
pghmcfc at fedoraproject.org
Sun Mar 18 13:45:16 UTC 2012
commit 6510e3c647d6d590e1c1f129f58f57c78cc0fe73
Author: corsepiu <corsepiu at fedoraproject.org>
Date: Mon Jun 2 10:59:28 2008 +0000
- Upstream update.
- Conditionally BR: perl(Test::CPAN::Meta).
- Hack testsuite to accept Test::CPAN::Meta != 0.07.
perl-Params-Util.spec | 18 ++++++++++++++++--
sources | 2 +-
2 files changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/perl-Params-Util.spec b/perl-Params-Util.spec
index 2c75d51..b8c410c 100644
--- a/perl-Params-Util.spec
+++ b/perl-Params-Util.spec
@@ -1,6 +1,6 @@
Name: perl-Params-Util
-Version: 0.31
-Release: 6%{?dist}
+Version: 0.33
+Release: 1%{?dist}
Summary: Simple standalone param-checking functions
License: GPL+ or Artistic
Group: Development/Libraries
@@ -19,6 +19,10 @@ BuildRequires: perl(Test::MinimumVersion) >= 0.007
# Required by the tests
BuildRequires: perl(Test::Pod) >= 1.00
+%if 0%{?fedora} >= 9
+# FIXME: Not available for FC < 10
+BuildRequires: perl(Test::CPAN::Meta) >= 0.07
+%endif
%description
Params::Util provides a basic set of importable functions that
@@ -28,6 +32,11 @@ makes checking parameters a hell of a lot easier.
%setup -q -n Params-Util-%{version}
find -type f -exec chmod -x {} \;
+%if "%{version}" == "0.33"
+# Hack around 0.33 failing to find Test::CPAN::Meta
+sed -i -e "s,\'Test::CPAN::Meta 0.07\',\'Test::CPAN::Meta\'," t/97_meta.t
+%endif
+
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@@ -52,6 +61,11 @@ make test AUTOMATED_TESTING=1
%{_mandir}/man3/*
%changelog
+* Mon Jun 02 2008 Ralf Corsépius <rc040203 at freenet.de> - 0.33-1
+- Upstream update.
+- Conditionally BR: perl(Test::CPAN::Meta).
+- Hack testsuite to accept Test::CPAN::Meta != 0.07.
+
* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.31-6
- Rebuild normally, second pass
diff --git a/sources b/sources
index 7cd278a..62410db 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-985370df207e331ac8ad9976255f0fd3 Params-Util-0.31.tar.gz
+afe29403e9a9e8ccc75b8bfec1206f8e Params-Util-0.33.tar.gz
More information about the scm-commits
mailing list