diff --git a/hunspell-sv.spec b/hunspell-sv.spec index 480df0b..e10b229 100644 --- a/hunspell-sv.spec +++ b/hunspell-sv.spec @@ -1,7 +1,12 @@ +%if 0%{?fedora} > 35 +%global dict_dirname hunspell +%else +%global dict_dirname myspell +%endif Name: hunspell-sv Summary: Swedish hunspell dictionaries Version: 2.28 -Release: 16%{?dist} +Release: 17%{?dist} Source: http://extensions.libreoffice.org/extension-center/swedish-spelling-dictionary-den-stora-svenska-ordlistan/releases/2.28/ooo_swedish_dict_2-28.oxt URL: http://dsso.se/ License: LGPLv3 @@ -21,16 +26,20 @@ sed -i 's/\r$//' LICENSE_sv_SE.txt sed -i 's/\r$//' LICENSE_en_US.txt %install -mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p dictionaries/*.dic dictionaries/*.aff $RPM_BUILD_ROOT/%{_datadir}/myspell +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} +cp -p dictionaries/*.dic dictionaries/*.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %files %doc LICENSE_sv_SE.txt LICENSE_en_US.txt -%{_datadir}/myspell/* +%{_datadir}/%{dict_dirname}/* %changelog +* Fri Feb 11 2022 Vishal Vijayraghavan - 2.28-17 +- rename install directory name from myspell to hunspell +- https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change + * Thu Jan 20 2022 Fedora Release Engineering - 2.28-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild