diff --git a/hunspell-rw.spec b/hunspell-rw.spec index f847eb2..7c8ee13 100644 --- a/hunspell-rw.spec +++ b/hunspell-rw.spec @@ -1,8 +1,13 @@ +%if 0%{?fedora} > 35 +%global dict_dirname hunspell +%else +%global dict_dirname myspell +%endif Name: hunspell-rw Summary: Kinyarwanda hunspell dictionaries %global upstreamid 20050109 Version: 0.%{upstreamid} -Release: 24%{?dist} +Release: 25%{?dist} Source: http://download.services.openoffice.org/contrib/dictionaries/rw_RW.zip URL: http://borel.slu.edu/crubadan/apps.html License: GPLv2+ @@ -20,15 +25,19 @@ Kinyarwanda hunspell dictionaries. %build %install -mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p rw_RW.* $RPM_BUILD_ROOT/%{_datadir}/myspell/ +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} +cp -p rw_RW.* $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/ %files %doc README_rw_RW.txt -%{_datadir}/myspell/* +%{_datadir}/%{dict_dirname}/* %changelog +* Fri Feb 11 2022 Vishal Vijayraghavan - 0.20050109-25 +- rename install directory name from myspell to hunspell +- https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change + * Thu Jan 20 2022 Fedora Release Engineering - 0.20050109-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild