From c3eaf359ed93dc829e8be9cdf79d1ff43861e7d4 Mon Sep 17 00:00:00 2001 From: vishalvvr Date: Fri, 11 Feb 2022 11:41:37 +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-or.spec | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/hunspell-or.spec b/hunspell-or.spec index ed582c1..1a621c0 100644 --- a/hunspell-or.spec +++ b/hunspell-or.spec @@ -1,8 +1,13 @@ +%if 0%{?fedora} > 35 +%global dict_dirname hunspell +%else +%global dict_dirname myspell +%endif Name: hunspell-or Summary: Odia hunspell dictionaries Version: 1.0.0 Epoch: 1 -Release: 17%{?dist} +Release: 18%{?dist} License: GPLv2+ URL: https://gitorious.org/hunspell_dictionaries/hunspell_dictionaries.git Source0: http://anishpatil.fedorapeople.org/or_in.%{version}.tar.gz @@ -25,15 +30,19 @@ mv or_IN/Copyright.utf8 or_IN/Copyright %install -mkdir -p %{buildroot}%{_datadir}/myspell -cp -p or_IN/*.dic or_IN/*.aff %{buildroot}%{_datadir}/myspell +mkdir -p %{buildroot}%{_datadir}/%{dict_dirname} +cp -p or_IN/*.dic or_IN/*.aff %{buildroot}%{_datadir}/%{dict_dirname} %files %doc or_IN/README %license or_IN/COPYING or_IN/Copyright -%{_datadir}/myspell/* +%{_datadir}/%{dict_dirname}/* %changelog +* Fri Feb 11 2022 Vishal Vijayraghavan - 1:1.0.0-18 +- 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:1.0.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild