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
6ad271d111
commit
a8adeb0704
@ -1,7 +1,12 @@
|
||||
%if 0%{?fedora} > 35
|
||||
%global dict_dirname hunspell
|
||||
%else
|
||||
%global dict_dirname myspell
|
||||
%endif
|
||||
Name: hunspell-sq
|
||||
Summary: Albanian hunspell dictionaries
|
||||
Version: 1.6.4
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
Source: http://www.shkenca.org/shkarkime/myspell-sq_AL-%{version}.zip
|
||||
URL: http://www.shkenca.org/k6i/albanian_dictionary_for_myspell_en.html
|
||||
License: GPLv2+
|
||||
@ -19,15 +24,19 @@ Albanian hunspell dictionaries.
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
cp -p sq_AL.* $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||
cp -p sq_AL.* $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/
|
||||
|
||||
|
||||
%files
|
||||
%doc README.txt Copyright
|
||||
%{_datadir}/myspell/*
|
||||
%{_datadir}/%{dict_dirname}/*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 11 2022 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 1.6.4-21
|
||||
- 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> - 1.6.4-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user