summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-01-07 19:45:55 +0100
committerlpsolit%gmail.com <>2009-01-07 19:45:55 +0100
commit1ef4ee777a69bc857fb1b4ee95e2521904d1a5cc (patch)
tree4cebd2f2b5ccc48bc213225d5fb19975f354f71d
parent07d3c0d7d9ad56518c72096c62a8dc909dd0fc98 (diff)
downloadbugzilla-1ef4ee777a69bc857fb1b4ee95e2521904d1a5cc.tar.gz
bugzilla-1ef4ee777a69bc857fb1b4ee95e2521904d1a5cc.tar.xz
Bug 472458: checksetup.pl should check for DateTime::TimeZone - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
-rw-r--r--Bugzilla/Install/Requirements.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index 5647181cc..4d3296c09 100644
--- a/Bugzilla/Install/Requirements.pm
+++ b/Bugzilla/Install/Requirements.pm
@@ -80,6 +80,15 @@ sub REQUIRED_MODULES {
module => 'DateTime',
version => '0.28'
},
+ # 0.79 is required to work on Windows Vista and Windows Server 2008.
+ # As correctly detecting the flavor of Windows is not easy,
+ # we require this version for all Windows installations.
+ # 0.71 fixes a major bug affecting all platforms.
+ {
+ package => 'DateTime-TimeZone',
+ module => 'DateTime::TimeZone',
+ version => ON_WINDOWS ? '0.79' : '0.71'
+ },
{
package => 'PathTools',
module => 'File::Spec',