diff options
author | Martin Stransky <stransky@fedoraproject.org> | 2007-10-23 09:03:21 +0000 |
---|---|---|
committer | Martin Stransky <stransky@fedoraproject.org> | 2007-10-23 09:03:21 +0000 |
commit | 8296c9470e66b7ec17b84d20a64c57f6819bcccf (patch) | |
tree | 220c6558b26e616129ca9c43dc11096a6fc214a5 | |
parent | this part can't be in the build section (diff) | |
download | librewolf-fedora-ff-8296c9470e66b7ec17b84d20a64c57f6819bcccf.tar.gz librewolf-fedora-ff-8296c9470e66b7ec17b84d20a64c57f6819bcccf.tar.bz2 librewolf-fedora-ff-8296c9470e66b7ec17b84d20a64c57f6819bcccf.zip |
Removed source hack
-rw-r--r-- | firefox.spec | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/firefox.spec b/firefox.spec index cc11eca..45680f0 100644 --- a/firefox.spec +++ b/firefox.spec @@ -194,13 +194,6 @@ removed in favor of xulrunner-devel. %build -# set up our default homepage -%{__cat} >> %{SOURCE12} << EOF -pref("browser.startup.homepage", "%{homepage}"); -pref("startup.homepage_override_url", "%{homepage}"); -pref("startup.homepage_welcome_url", "%{homepage}"); -EOF - # Build with -Os as it helps the browser; also, don't override mozilla's warning # level; they use -Wall but disable a few warnings that show up _everywhere_ MOZ_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | %{__sed} -e 's/-O2/-Os/' -e 's/-Wall//') @@ -244,6 +237,15 @@ desktop-file-install --vendor mozilla \ # set up our default preferences %{__cat} %{SOURCE12} | %{__sed} -e 's,FIREFOX_RPM_VR,%{version}-%{release},g' > rh-default-prefs + +# set up our default homepage +%{__cat} >> rh-default-prefs << EOF +pref("browser.startup.homepage", "%{homepage}"); +pref("startup.homepage_override_url", "%{homepage}"); +pref("startup.homepage_welcome_url", "%{homepage}"); +EOF + +# place the preferences %{__cp} rh-default-prefs $RPM_BUILD_ROOT/%{mozappdir}/greprefs/all-redhat.js %{__cp} rh-default-prefs $RPM_BUILD_ROOT/%{mozappdir}/defaults/pref/all-redhat.js %{__rm} rh-default-prefs |