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
This commit is contained in:
parent
cee1357ae4
commit
73c629a68e
@ -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 <vishalvvr@fedoraproject.org> - 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 <releng@fedoraproject.org> - 0.20050109-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user