summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorJan Horak <xhorak@fedoraproject.org>2008-11-13 15:07:40 +0000
committerJan Horak <xhorak@fedoraproject.org>2008-11-13 15:07:40 +0000
commitea4f77bc1b0f9e9669981e85035ae8b301cf92bf (patch)
treecee42f22d155c0b55b78c0b380977182180b0ef6 /firefox.spec
parentmerge (diff)
downloadlibrewolf-fedora-ff-ea4f77bc1b0f9e9669981e85035ae8b301cf92bf.tar.gz
librewolf-fedora-ff-ea4f77bc1b0f9e9669981e85035ae8b301cf92bf.tar.bz2
librewolf-fedora-ff-ea4f77bc1b0f9e9669981e85035ae8b301cf92bf.zip
- Removed firefox-2.0-getstartpage.patch patch
- Start page is set by different way
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec15
1 files changed, 10 insertions, 5 deletions
diff --git a/firefox.spec b/firefox.spec
index f027612..002963e 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -19,7 +19,7 @@
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 3.0.2
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -42,7 +42,6 @@ Source23: firefox.1
Source100: find-external-requires
-Patch1: firefox-2.0-getstartpage.patch
# Upstream patches
@@ -95,8 +94,6 @@ compliance, performance and portability.
%setup -q -c
cd mozilla
-%patch1 -p1 -b .getstartpage
-
# For branding specific patches.
%if %{official_branding}
@@ -176,11 +173,15 @@ desktop-file-install --vendor mozilla \
# set up our default homepage
%{__cat} >> rh-default-prefs << EOF
-pref("browser.startup.homepage", "%{homepage}");
pref("startup.homepage_override_url", "%{firstrun}");
pref("startup.homepage_welcome_url", "%{firstrun}");
EOF
+# resolves bug #461880
+%{__cat} > $RPM_BUILD_ROOT/%{mozappdir}/browserconfig.properties << EOF
+browser.startup.homepage=%{homepage}
+EOF
+
# Export correct locale
%{__cat} > $RPM_BUILD_ROOT/%{mozappdir}/defaults/preferences/firefox-l10n.js << EOF
pref("general.useragent.locale", "chrome://global/locale/intl.properties");
@@ -333,6 +334,10 @@ fi
#---------------------------------------------------------------------
%changelog
+* Tue Nov 11 2008 Jan Horak <jhorak@redhat.com> 3.0.2-2
+- Removed firefox-2.0-getstartpage.patch patch
+- Start page is set by different way
+
* Tue Sep 23 2008 Christopher Aillon <caillon@redhat.com> 3.0.2-1
- Update to 3.0.2
bgstack15