rpms/firefox/F-9 firefox.spec,1.302,1.303

Martin Stransky (stransky) fedora-extras-commits at redhat.com
Thu Jul 24 14:42:27 UTC 2008


Author: stransky

Update of /cvs/pkgs/rpms/firefox/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17175

Modified Files:
	firefox.spec 
Log Message:
Export correct locale in firefox-l10n.js


Index: firefox.spec
===================================================================
RCS file: /cvs/pkgs/rpms/firefox/F-9/firefox.spec,v
retrieving revision 1.302
retrieving revision 1.303
diff -u -r1.302 -r1.303
--- firefox.spec	16 Jul 2008 22:03:25 -0000	1.302
+++ firefox.spec	24 Jul 2008 14:41:32 -0000	1.303
@@ -180,6 +180,12 @@
 pref("startup.homepage_welcome_url", "%{firstrun}");
 EOF
 
+# Export correct locale
+%{__cat} > $RPM_BUILD_ROOT/%{mozappdir}/defaults/preferences/firefox-l10n.js << EOF
+pref("general.useragent.locale", "chrome://global/locale/intl.properties");
+EOF
+%{__chmod} 644 $RPM_BUILD_ROOT/%{mozappdir}/defaults/preferences/firefox-l10n.js
+
 # place the preferences
 %{__cp} rh-default-prefs $RPM_BUILD_ROOT/%{mozappdir}/defaults/preferences/all-redhat.js
 %{__rm} rh-default-prefs




More information about the fedora-extras-commits mailing list