[xulrunner] Freeze the User-Agent build date at 20100101
Christopher Aillon
caillon at fedoraproject.org
Sun Feb 27 09:51:00 UTC 2011
commit b479600d8985f9633a8b67e7a6590c8f38113e2a
Author: Christopher Aillon <caillon at redhat.com>
Date: Sun Feb 27 01:47:04 2011 -0800
Freeze the User-Agent build date at 20100101
This matches upstream.
See http://hacks.mozilla.org/2010/09/final-user-agent-string-for-firefox-4/
The build date value gets hardcoded in at compile-time of nsHttpHandler.cpp
which is part of XULRunner, so we need to do this here instead of Firefox.
xulrunner-mozconfig | 3 ++-
xulrunner.spec | 5 ++++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/xulrunner-mozconfig b/xulrunner-mozconfig
index ea4e452..c6d6a3b 100644
--- a/xulrunner-mozconfig
+++ b/xulrunner-mozconfig
@@ -37,7 +37,8 @@ ac_add_options --enable-url-classifier
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
+export MOZ_UA_BUILDID=20100101
+
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@
-
diff --git a/xulrunner.spec b/xulrunner.spec
index 5cd335a..093784d 100644
--- a/xulrunner.spec
+++ b/xulrunner.spec
@@ -60,7 +60,7 @@
Summary: XUL Runtime for Gecko Applications
Name: xulrunner
Version: 2.0
-Release: 0.24%{?pre_tag}%{?dist}
+Release: 0.25%{?pre_tag}%{?dist}
URL: http://developer.mozilla.org/En/XULRunner
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -459,6 +459,9 @@ fi
#---------------------------------------------------------------------
%changelog
+* Sun Feb 27 2011 Christopher Aillon <caillon at redhat.com> - 2.0-0.25
+- Make Firefox's User-Agent string match upstream's
+
* Sat Feb 26 2011 Christopher Aillon <caillon at redhat.com> - 2.0-0.24
- Switch to using the omni chrome file format
More information about the scm-commits
mailing list