diff options
Diffstat (limited to 'RPM4/Makefile.PL')
-rw-r--r-- | RPM4/Makefile.PL | 10 |
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, |