diff options
author | Jan Horak <jhorak@redhat.com> | 2022-01-25 10:46:15 +0100 |
---|---|---|
committer | Jan Horak <jhorak@redhat.com> | 2022-01-25 10:46:15 +0100 |
commit | 95a88fb6162d584812ac16f0301cdad63b57e159 (patch) | |
tree | 3db1c436ae99b4924684aec27bb03363258fb363 /firefox.spec | |
parent | Update hunspell-dir path (diff) | |
download | librewolf-fedora-ff-95a88fb6162d584812ac16f0301cdad63b57e159.tar.gz librewolf-fedora-ff-95a88fb6162d584812ac16f0301cdad63b57e159.tar.bz2 librewolf-fedora-ff-95a88fb6162d584812ac16f0301cdad63b57e159.zip |
Use myspell directory for older fedoras
Diffstat (limited to 'firefox.spec')
-rw-r--r-- | firefox.spec | 4 |
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 |