diff options
author | Martin Stransky <stransky@redhat.com> | 2017-04-18 13:41:34 +0200 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2017-04-18 13:41:34 +0200 |
commit | b7c6e6f56d55e025bdbe2039d8a0fa72f7d25f96 (patch) | |
tree | e8d781ee732b478af6eb34114c32bc5d91f82997 | |
parent | Merge branch 'master' into f24 (diff) | |
parent | Disable system hunspell library when necessary (diff) | |
download | librewolf-fedora-ff-b7c6e6f56d55e025bdbe2039d8a0fa72f7d25f96.tar.gz librewolf-fedora-ff-b7c6e6f56d55e025bdbe2039d8a0fa72f7d25f96.tar.bz2 librewolf-fedora-ff-b7c6e6f56d55e025bdbe2039d8a0fa72f7d25f96.zip |
Merge branch 'master' into f24
-rw-r--r-- | firefox.spec | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec index c1aefb4..5af62f2 100644 --- a/firefox.spec +++ b/firefox.spec @@ -4,6 +4,13 @@ # Use system nspr/nss? %define system_nss 1 +# Use system hunspell? +%if 0%{?fedora} > 25 +%define system_hunspell 1 +%else +%define system_hunspell 0 +%endif + # Use system sqlite? %if 0%{?fedora} > 25 %define system_sqlite 1 @@ -103,7 +110,7 @@ Summary: Mozilla Firefox Web browser Name: firefox Version: 53.0 -Release: 1%{?pre_tag}%{?dist} +Release: 2%{?pre_tag}%{?dist} URL: https://www.mozilla.org/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -180,7 +187,9 @@ BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(freetype2) >= %{freetype_version} BuildRequires: pkgconfig(xt) BuildRequires: pkgconfig(xrender) +%if %{?system_hunspell} BuildRequires: pkgconfig(hunspell) +%endif BuildRequires: pkgconfig(libstartup-notification-1.0) %if %{?alsa_backend} BuildRequires: pkgconfig(alsa) @@ -364,6 +373,12 @@ echo "ac_add_options --disable-elf-hack" >> .mozconfig echo "ac_add_options --enable-alsa" >> .mozconfig %endif +%if %{?system_hunspell} +echo "ac_add_options --enable-system-hunspell" >> .mozconfig +%else +echo "ac_add_options --disable-system-hunspell" >> .mozconfig +%endif + %if %{?debug_build} echo "ac_add_options --enable-debug" >> .mozconfig echo "ac_add_options --disable-optimize" >> .mozconfig @@ -840,6 +855,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #--------------------------------------------------------------------- %changelog +* Tue Apr 18 2017 Martin Stransky <stransky@redhat.com> - 53.0-2 +- Disable system hunspell library when necessary + * Tue Apr 18 2017 Martin Stransky <stransky@redhat.com> - 53.0-1 - Updated to 53.0 (B6) |