aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-11-01 01:05:04 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-11-01 01:20:06 +0100
commitb2fa18eb968ee196260461db1f2b1916397ad298 (patch)
tree4e892a91c301081b85ca0fec34eca2c184d13b5e
parentbcff31977d4a6fa1e2780c184d32ca6f94790dc6 (diff)
downloadperl-URPM-b2fa18eb968ee196260461db1f2b1916397ad298.tar
perl-URPM-b2fa18eb968ee196260461db1f2b1916397ad298.tar.gz
perl-URPM-b2fa18eb968ee196260461db1f2b1916397ad298.tar.bz2
perl-URPM-b2fa18eb968ee196260461db1f2b1916397ad298.tar.xz
perl-URPM-b2fa18eb968ee196260461db1f2b1916397ad298.zip
split configure deps hash
-rwxr-xr-xMakefile.PL8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 28e7e04..8932818 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,6 +1,10 @@
use strict;
use ExtUtils::MakeMaker;
+our %CONFIGURE_REQUIRES = (
+ 'ExtUtils::MakeMaker' => '6.64',
+);
+
# where to find the rpm utility
my $rpm_path = $ENV{RPM_PATH}; # this overrides
@@ -45,9 +49,7 @@ WriteMakefile(
ABSTRACT_FROM => 'URPM.pm',
AUTHOR => 'Thierry Vignaud',
LICENSE => 'perl_5',
- CONFIGURE_REQUIRES => {
- 'ExtUtils::MakeMaker' => '6.64',
- },
+ CONFIGURE_REQUIRES => \%CONFIGURE_REQUIRES,
PREREQ_PM => {
'MDV::Packdrakeng' => '1.00', # for URPM::Build
},