[bugzilla-gnome-org-upstream/4.4] Bug 1124401: Explicitly depend on DateTime::TimeZone::Local::Win32 on Windows r=dylan a=glob



commit df9b5af8c31ca00a2cc5ce5bbda64c9e4238b38f
Author: Frédéric Buclin <LpSolit gmail com>
Date:   Fri Jun 5 11:07:24 2015 +0200

    Bug 1124401: Explicitly depend on DateTime::TimeZone::Local::Win32 on Windows
    r=dylan a=glob

 Bugzilla/Install/Requirements.pm |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index fbd7d78..e00751c 100644
--- a/Bugzilla/Install/Requirements.pm
+++ b/Bugzilla/Install/Requirements.pm
@@ -168,7 +168,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.
@@ -179,7 +180,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 0.79, so this version must match.
+            version => '0.79',
+        }
+        );
     }
 
     my $extra_modules = _get_extension_requirements('REQUIRED_MODULES');


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]