summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2022-01-25 10:46:15 +0100
committerJan Horak <jhorak@redhat.com>2022-01-25 10:46:15 +0100
commit95a88fb6162d584812ac16f0301cdad63b57e159 (patch)
tree3db1c436ae99b4924684aec27bb03363258fb363
parentUpdate hunspell-dir path (diff)
downloadlibrewolf-fedora-ff-95a88fb6162d584812ac16f0301cdad63b57e159.tar.gz
librewolf-fedora-ff-95a88fb6162d584812ac16f0301cdad63b57e159.tar.bz2
librewolf-fedora-ff-95a88fb6162d584812ac16f0301cdad63b57e159.zip
Use myspell directory for older fedoras
-rw-r--r--firefox.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/firefox.spec b/firefox.spec
index 85490f5..08a577b 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -898,7 +898,11 @@ create_default_langpack "zh-TW" "zh"
# Use the system hunspell dictionaries
%{__rm} -rf %{buildroot}%{mozappdir}/dictionaries
+%if 0%{?fedora} > 35
ln -s %{_datadir}/hunspell %{buildroot}%{mozappdir}/dictionaries
+%else
+ln -s %{_datadir}/myspell %{buildroot}%{mozappdir}/dictionaries
+%endif
%if 0%{?run_firefox_tests}
%{__mkdir_p} %{buildroot}/%{version}-%{release}/test_results
bgstack15