Skip to content

Commit da2fac9

Browse files
committed
Use requires_by_perl - Software::License::Perl_5
1 parent 636057d commit da2fac9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cpanfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ requires_by_perl 'Pod::Man',
100100
prior 5.012 => '==5.01',
101101
;
102102

103+
requires_by_perl 'Software::License::Perl_5',
104+
prior 5.012 => '==0.104004',
105+
;
106+
103107
requires_by_perl 'Test2::Harness',
104108
prior 5.010 => skip,
105109
prior 5.014 => '==1.000156',
@@ -116,12 +120,10 @@ requires_by_perl 'Test::MockModule',
116120

117121
# Last versions which install on < 5.12
118122
if ( "$]" < 5.012 ) {
119-
requires 'Software::License::Perl_5', '==0.104004';
120123
requires 'Sub::Exporter', '==0.990';
121124
requires 'Test::Deep', '==1.130';
122125
}
123126
else {
124-
requires 'Software::License::Perl_5';
125127
requires 'Plack::Test';
126128
}
127129

0 commit comments

Comments
 (0)