summaryrefslogtreecommitdiffstats
path: root/RPM4/Makefile.PL
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-10-29 17:04:52 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-11-06 11:18:37 +0100
commit70228b90bc5d369b13ff9f06559ab700a4b9eac3 (patch)
tree3055b3443f5365cb2df8049fa6b77b6b8a9d0554 /RPM4/Makefile.PL
parent691117222b449dd8bd9019d68be8b3fe1e6c78d3 (diff)
downloadperl-RPM4-70228b90bc5d369b13ff9f06559ab700a4b9eac3.tar
perl-RPM4-70228b90bc5d369b13ff9f06559ab700a4b9eac3.tar.gz
perl-RPM4-70228b90bc5d369b13ff9f06559ab700a4b9eac3.tar.bz2
perl-RPM4-70228b90bc5d369b13ff9f06559ab700a4b9eac3.tar.xz
perl-RPM4-70228b90bc5d369b13ff9f06559ab700a4b9eac3.zip
split out configure deps hash
(needed for next commit)
Diffstat (limited to 'RPM4/Makefile.PL')
-rw-r--r--RPM4/Makefile.PL10
1 files changed, 6 insertions, 4 deletions
diff --git a/RPM4/Makefile.PL b/RPM4/Makefile.PL
index 61e587c..82a0877 100644
--- a/RPM4/Makefile.PL
+++ b/RPM4/Makefile.PL
@@ -4,6 +4,11 @@
use ExtUtils::MakeMaker;
use Getopt::Long;
+our %CONFIGURE_REQUIRES => (
+ 'ExtUtils::MakeMaker' => '6.64',
+ 'Getopt::Long' => '0',
+);
+
#- require at least rpm 4.9
my $rpm_version = `LC_ALL=C rpm --version` =~ /version ([0-9.]+)(?:-(?:beta|rc).*)?$/ ? version->new("v$1") : ();
$rpm_version ge 4.9.0
@@ -38,10 +43,7 @@ WriteMakefile(
release_status => 'stable'
},
MIN_PERL_VERSION => '5.008001',
- CONFIGURE_REQUIRES => {
- 'ExtUtils::MakeMaker' => '6.64',
- 'Getopt::Long' => '0',
- },
+ CONFIGURE_REQUIRES => \%CONFIGURE_REQUIRES,
PREREQ_PM => {
Carp => 0,
'Digest::SHA1' => 0,