Use myspell directory for older fedoras

This commit is contained in:
Jan Horak 2022-01-25 10:46:15 +01:00
parent e1f5156d0b
commit 95a88fb616

View File

@ -898,7 +898,11 @@ create_default_langpack "zh-TW" "zh"
# Use the system hunspell dictionaries # Use the system hunspell dictionaries
%{__rm} -rf %{buildroot}%{mozappdir}/dictionaries %{__rm} -rf %{buildroot}%{mozappdir}/dictionaries
%if 0%{?fedora} > 35
ln -s %{_datadir}/hunspell %{buildroot}%{mozappdir}/dictionaries ln -s %{_datadir}/hunspell %{buildroot}%{mozappdir}/dictionaries
%else
ln -s %{_datadir}/myspell %{buildroot}%{mozappdir}/dictionaries
%endif
%if 0%{?run_firefox_tests} %if 0%{?run_firefox_tests}
%{__mkdir_p} %{buildroot}/%{version}-%{release}/test_results %{__mkdir_p} %{buildroot}/%{version}-%{release}/test_results