From: Frédéric Buclin Date: Wed, 27 May 2015 15:21:07 +0000 (+0200) Subject: Bug 1124401: Explicitly depend on DateTime::TimeZone::Local::Win32 on Windows X-Git-Tag: release-5.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca21e3a6abdbc0f30e101caf0fa58944faf0e230;p=thirdparty%2Fbugzilla.git Bug 1124401: Explicitly depend on DateTime::TimeZone::Local::Win32 on Windows r=dylan a=glob --- diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index 7328949aab..f723543b81 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -169,7 +169,8 @@ sub REQUIRED_MODULES { ); if (ON_WINDOWS) { - push(@modules, { + push(@modules, + { package => 'Win32', module => 'Win32', # 0.35 fixes a memory leak in GetOSVersion, which we use. @@ -180,7 +181,14 @@ sub REQUIRED_MODULES { module => 'Win32::API', # 0.55 fixes a bug with char* that might affect Bugzilla::RNG. version => '0.55', - }); + }, + { + package => 'DateTime-TimeZone-Local-Win32', + module => 'DateTime::TimeZone::Local::Win32', + # We require DateTime::TimeZone 1.64, so this version must match. + version => '1.64', + } + ); } my $extra_modules = _get_extension_requirements('REQUIRED_MODULES');