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
14c48e055c
commit
c3eaf359ed
@ -1,8 +1,13 @@
|
|||||||
|
%if 0%{?fedora} > 35
|
||||||
|
%global dict_dirname hunspell
|
||||||
|
%else
|
||||||
|
%global dict_dirname myspell
|
||||||
|
%endif
|
||||||
Name: hunspell-or
|
Name: hunspell-or
|
||||||
Summary: Odia hunspell dictionaries
|
Summary: Odia hunspell dictionaries
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Release: 17%{?dist}
|
Release: 18%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://gitorious.org/hunspell_dictionaries/hunspell_dictionaries.git
|
URL: https://gitorious.org/hunspell_dictionaries/hunspell_dictionaries.git
|
||||||
Source0: http://anishpatil.fedorapeople.org/or_in.%{version}.tar.gz
|
Source0: http://anishpatil.fedorapeople.org/or_in.%{version}.tar.gz
|
||||||
@ -25,15 +30,19 @@ mv or_IN/Copyright.utf8 or_IN/Copyright
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_datadir}/myspell
|
mkdir -p %{buildroot}%{_datadir}/%{dict_dirname}
|
||||||
cp -p or_IN/*.dic or_IN/*.aff %{buildroot}%{_datadir}/myspell
|
cp -p or_IN/*.dic or_IN/*.aff %{buildroot}%{_datadir}/%{dict_dirname}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc or_IN/README
|
%doc or_IN/README
|
||||||
%license or_IN/COPYING or_IN/Copyright
|
%license or_IN/COPYING or_IN/Copyright
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 11 2022 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 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 <releng@fedoraproject.org> - 1:1.0.0-17
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0.0-17
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user