diff --git a/hunspell-st.spec b/hunspell-st.spec index 9634b37..6de1f2a 100644 --- a/hunspell-st.spec +++ b/hunspell-st.spec @@ -1,8 +1,13 @@ +%if 0%{?fedora} > 35 +%global dict_dirname hunspell +%else +%global dict_dirname myspell +%endif Name: hunspell-st Summary: Southern Sotho hunspell dictionaries %global upstreamid 20091030 Version: 0.%{upstreamid} -Release: 22%{?dist} +Release: 23%{?dist} Source: https://downloads.sourceforge.net/project/aoo-extensions/3138/0/dict-st_za-2009.10.30.oxt URL: http://www.translate.org.za/ License: LGPLv2+ @@ -30,15 +35,19 @@ for i in README-st_ZA.txt release-notes-st_ZA.txt package-description.txt; do done %install -mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} +cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %files %doc README-st_ZA.txt release-notes-st_ZA.txt package-description.txt -%{_datadir}/myspell/* +%{_datadir}/%{dict_dirname}/* %changelog +* Fri Feb 11 2022 Vishal Vijayraghavan - 0.20091030-23 +- 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.20091030-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild