diff options
author | Christopher Aillon <caillon@redhat.com> | 2011-04-03 20:16:30 -0700 |
---|---|---|
committer | Christopher Aillon <caillon@redhat.com> | 2011-04-03 20:16:30 -0700 |
commit | 4acbcb33023e8132d1497b39ded44d64102d6f22 (patch) | |
tree | f04a876eb4478452644e396c7fdadb18243dc549 /firefox.spec | |
parent | Rebuild (diff) | |
download | librewolf-fedora-ff-4acbcb33023e8132d1497b39ded44d64102d6f22.tar.gz librewolf-fedora-ff-4acbcb33023e8132d1497b39ded44d64102d6f22.tar.bz2 librewolf-fedora-ff-4acbcb33023e8132d1497b39ded44d64102d6f22.zip |
Use upstream's version of our patch to set the default browser
When setting the default browser, we want to set it to 'firefox %s'
instead of '/usr/lib{,64}/firefox-4/firefox %s'
firefox-default.patch did the job for us for a bit, but upstream now
has a patch to do this which we can now use. The patch will check
to see if MOZ_APP_LAUNCHER is passed, and if so, it will use only
the basename when setting the default browser. We already set
MOZ_APP_LAUNCHER, so just need to switch to using the patch.
From https://bugzilla.mozilla.org/show_bug.cgi?id=611953
Patch 1 - Use MOZ_APP_LAUNCHER for default browser executable (v3, un-bitrotted)
Diffstat (limited to 'firefox.spec')
-rw-r--r-- | firefox.spec | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firefox.spec b/firefox.spec index b353830..b1919e2 100644 --- a/firefox.spec +++ b/firefox.spec @@ -65,9 +65,9 @@ Source23: firefox.1 Patch0: firefox-version.patch # Fedora patches -Patch11: firefox-default.patch # Upstream patches +Patch30: firefox-4.0-moz-app-launcher.patch %if %{official_branding} # Required by Mozilla Corporation @@ -111,7 +111,9 @@ sed -e 's/__RPM_VERSION_INTERNAL__/%{firefox_dir_ver}/' %{P:%%PATCH0} \ # For branding specific patches. # Fedora patches -%patch11 -p1 -b .default + +# Upstream patches +%patch30 -p1 -b .moz-app-launcher %if %{official_branding} # Required by Mozilla Corporation |