diff --git a/hunspell-ny.spec b/hunspell-ny.spec index 2ed97a7..808afc7 100644 --- a/hunspell-ny.spec +++ b/hunspell-ny.spec @@ -1,8 +1,13 @@ +%if 0%{?fedora} > 35 +%global dict_dirname hunspell +%else +%global dict_dirname myspell +%endif Name: hunspell-ny Summary: Chichewa hunspell dictionaries Epoch: 1 Version: 0.01 -Release: 21%{?dist} +Release: 22%{?dist} Source: https://downloads.sourceforge.net/project/aoo-extensions/4052/0/hunspell-chichewa-ny-dict-%{version}.oxt URL: http://extensions.services.openoffice.org/en/project/chicspell License: GPLv3+ @@ -31,16 +36,20 @@ for i in dictionaries/README_ny_MW.txt; do done %install -mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p dictionaries/ny_MW.* $RPM_BUILD_ROOT/%{_datadir}/myspell +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} +cp -p dictionaries/ny_MW.* $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %files %doc dictionaries/README_ny_MW.txt %license LICENSES-en.txt -%{_datadir}/myspell/* +%{_datadir}/%{dict_dirname}/* %changelog +* Fri Feb 11 2022 Vishal Vijayraghavan - 1:0.01-22 +- 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:0.01-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild