diff --git a/hunspell-sc.spec b/hunspell-sc.spec index b4065d4..a42d5d7 100644 --- a/hunspell-sc.spec +++ b/hunspell-sc.spec @@ -1,8 +1,13 @@ +%if 0%{?fedora} > 35 +%global dict_dirname hunspell +%else +%global dict_dirname myspell +%endif Name: hunspell-sc Summary: Sardinian hunspell dictionaries %global upstreamid 20081101 Version: 0.%{upstreamid} -Release: 27%{?dist} +Release: 28%{?dist} Source: https://ayera.dl.sourceforge.net/project/aoo-extensions/1446/2/dict_sc_it03.oxt URL: http://extensions.services.openoffice.org/project/Dict_sc #The license included is AGPLv3 and pkg-desc/pkg-description.txt @@ -23,16 +28,20 @@ Sardinian hunspell dictionaries. %build %install -mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p sc_IT.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/sc_IT.aff -cp -p sc_it.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/sc_IT.dic +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} +cp -p sc_IT.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/sc_IT.aff +cp -p sc_it.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/sc_IT.dic %files %license registration/agpl3-en.txt -%{_datadir}/myspell/* +%{_datadir}/%{dict_dirname}/* %changelog +* Fri Feb 11 2022 Vishal Vijayraghavan - 0.20081101-28 +- 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.20081101-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild