From 73c629a68ef254fa6f784dea43346dddf7716a45 Mon Sep 17 00:00:00 2001 From: vishalvvr Date: Fri, 11 Feb 2022 12:56:54 +0530 Subject: [PATCH] update default dictionary install location - rename default install dir name from myspell to hunspell - F36 onwards will use hunspell dir & previous releases would use myspell dir - https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change --- hunspell-rw.spec | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) 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