diff options
author | Christopher Aillon <caillon@redhat.com> | 2011-02-26 16:50:19 -0800 |
---|---|---|
committer | Christopher Aillon <caillon@redhat.com> | 2011-02-26 16:50:19 -0800 |
commit | 90f2407d00e078ef381e2ea8480e0a744eee9690 (patch) | |
tree | 721c1a358c898231887b97e54570aeb7638afcf8 /firefox.spec | |
parent | 4.0 Beta 12 (diff) | |
download | librewolf-fedora-ff-90f2407d00e078ef381e2ea8480e0a744eee9690.tar.gz librewolf-fedora-ff-90f2407d00e078ef381e2ea8480e0a744eee9690.tar.bz2 librewolf-fedora-ff-90f2407d00e078ef381e2ea8480e0a744eee9690.zip |
Remove User-Agent customizations
Support got dropped in https://bugzilla.mozilla.org/show_bug.cgi?id=581008
https://developer.mozilla.org/en/Gecko_user_agent_string_reference
Diffstat (limited to 'firefox.spec')
-rw-r--r-- | firefox.spec | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/firefox.spec b/firefox.spec index b6fd10f..45b6e72 100644 --- a/firefox.spec +++ b/firefox.spec @@ -178,8 +178,8 @@ XULRUNNER_DIR=`pkg-config --variable=libdir libxul | %{__sed} -e "s,%{_libdir},, # Remove binary stub from xulrunner %{__rm} -rf $RPM_BUILD_ROOT/%{mozappdir}/firefox -# set up our default preferences -%{__cat} %{SOURCE12} | %{__sed} -e 's,FIREFOX_RPM_VR,%{version}-%{release},g' > rh-default-prefs +# Install our default preferences +%{__install} -p -D -m 644 %{SOURCE12} $RPM_BUILD_ROOT/%{mozappdir}/defaults/preferences/all-redhat.js # resolves bug #461880 %{__cat} > $RPM_BUILD_ROOT/%{mozappdir}/browserconfig.properties << EOF @@ -192,10 +192,6 @@ 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 - # set up our default bookmarks %{__rm} -f $RPM_BUILD_ROOT/%{mozappdir}/defaults/profile/bookmarks.html ln -s %{default_bookmarks_file} $RPM_BUILD_ROOT/%{mozappdir}/defaults/profile/bookmarks.html |