diff --git a/hunspell-sq.spec b/hunspell-sq.spec index 730f07b..9a16c7e 100644 --- a/hunspell-sq.spec +++ b/hunspell-sq.spec @@ -1,7 +1,12 @@ +%if 0%{?fedora} > 35 +%global dict_dirname hunspell +%else +%global dict_dirname myspell +%endif Name: hunspell-sq Summary: Albanian hunspell dictionaries Version: 1.6.4 -Release: 20%{?dist} +Release: 21%{?dist} Source: http://www.shkenca.org/shkarkime/myspell-sq_AL-%{version}.zip URL: http://www.shkenca.org/k6i/albanian_dictionary_for_myspell_en.html License: GPLv2+ @@ -19,15 +24,19 @@ Albanian hunspell dictionaries. %build %install -mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p sq_AL.* $RPM_BUILD_ROOT/%{_datadir}/myspell/ +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} +cp -p sq_AL.* $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/ %files %doc README.txt Copyright -%{_datadir}/myspell/* +%{_datadir}/%{dict_dirname}/* %changelog +* Fri Feb 11 2022 Vishal Vijayraghavan - 1.6.4-21 +- rename install directory name from myspell to hunspell +- https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change + * Thu Jan 20 2022 Fedora Release Engineering - 1.6.4-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild