From 95a88fb6162d584812ac16f0301cdad63b57e159 Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Tue, 25 Jan 2022 10:46:15 +0100 Subject: Use myspell directory for older fedoras --- firefox.spec | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firefox.spec') 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 -- cgit