The MinimumPerl plugin does not catch the fact that the TestCompile plugin requires 5.006. This results in META.{yml,json} files that require 5.004 and/but Makefile.PL's the require 5.006.
See https://github.com/hartzell/moox-strictconstructor/issues/12 for the backstory.
This dist.ini file:
<------------ snip -------------->
name = MinTest
author = George Hartzell <hartzell@cpan.org>
license = Perl_5
copyright_holder = George Hartzell
main_module = lib/MinTest.pm
version = 1.0.0
[@Basic]
[Test::Compile]
[MinimumPerl]
<------------ snip -------------->
and this lib/MinPerl.pm:
<------------ snip -------------->
package MinTest;
# ABSTRACT: turns baubles into trinkets
1;
<------------ snip -------------->
will reproduce the problem (run `dzil build`, check the META.yml and Makefile.PL files).