From 970190150a40d4bd574a1a84ac640ec44318869e Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 31 May 2017 17:48:17 -0400 Subject: Bug 1365734 - Handle BMO version number in Makefile.PL / MYMETA.json --- Makefile.PL | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile.PL') diff --git a/Makefile.PL b/Makefile.PL index d3ee9ae89..3bc7eac4d 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -24,8 +24,7 @@ BEGIN { lib->import($dir, File::Spec->catdir($dir, "lib"), File::Spec->catdir($dir, qw(local lib perl5))); } -use ExtUtils::MakeMaker 6.55; -use constant BUGZILLA_VERSION => $ENV{BUGZILLA_VERSION} // 42; +use ExtUtils::MakeMaker 7.24; use File::Basename; use File::Spec; @@ -382,7 +381,7 @@ $optional_features{bmo} = { WriteMakefile( NAME => 'Bugzilla', AUTHOR => q{Bugzilla Developers }, - VERSION => BUGZILLA_VERSION, + VERSION_FROM => 'Bugzilla.pm', ABSTRACT => 'Bugzilla Bug Tracking System', LICENSE => 'Mozilla_2_0', MIN_PERL_VERSION => '5.10.1', -- cgit v1.2.3-24-g4f1b