Build-require CPAN::Meta* modules temporarily

The modules are declared as optional, but the tests cannot cope with
their absence.

All of them are core modules, so it should not be problem to depend on
them.

<https://github.com/chansen/p5-http-tiny/issues/50>
This commit is contained in:
Petr Písař 2014-07-29 16:00:26 +02:00
parent a779e1a04e
commit ba99959fd8

View File

@ -45,6 +45,12 @@ BuildRequires: perl(open)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(version) >= 0.77
# Optionals tests:
# The CPAN::Meta* is needed due to a bug in tests generated by distzilla
# <https://github.com/chansen/p5-http-tiny/issues/50>
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(CPAN::Meta::Prereqs)
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120900
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(bytes)
Requires: perl(Fcntl)