Skip to content

Commit 8b3f77d

Browse files
raforkraforg
authored andcommitted
Adapt to recent RJBS minimum perl version changes
1 parent 5323c9d commit 8b3f77d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

cpanfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use warnings; # satisfy linter
44
# Last versions which install on < 5.12
55
if ( "$]" < 5.012 ) {
66
requires 'Data::Section', '==0.200007';
7+
requires 'Data::OptList', '==0.113';
78
requires 'Test::Deep', '==1.130';
89
}
910

@@ -77,7 +78,14 @@ if ( "$]" >= 5.020 ) {
7778
requires 'Dist::Zilla::PluginBundle::Author::OALDERS';
7879
requires 'Dist::Zilla::PluginBundle::DROLSKY';
7980
requires 'Dist::Zilla::PluginBundle::Milla';
80-
requires 'Dist::Zilla::PluginBundle::RJBS';
81+
82+
if ( "$]" < 5.026 ) {
83+
requires 'Dist::Zilla::PluginBundle::RJBS', '==5.023';
84+
}
85+
else {
86+
requires 'Dist::Zilla::PluginBundle::RJBS';
87+
}
88+
8189
requires 'Dist::Zilla::Plugin::CopyFilesFromRelease';
8290
requires 'Dist::Zilla::Plugin::Git::Contributors';
8391
requires 'Dist::Zilla::Plugin::OurPkgVersion';

0 commit comments

Comments
 (0)