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
68da700496
commit
4f0161c335
@ -1,8 +1,13 @@
|
|||||||
|
%if 0%{?fedora} > 35
|
||||||
|
%global dict_dirname hunspell
|
||||||
|
%else
|
||||||
|
%global dict_dirname myspell
|
||||||
|
%endif
|
||||||
Name: hunspell-st
|
Name: hunspell-st
|
||||||
Summary: Southern Sotho hunspell dictionaries
|
Summary: Southern Sotho hunspell dictionaries
|
||||||
%global upstreamid 20091030
|
%global upstreamid 20091030
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 22%{?dist}
|
Release: 23%{?dist}
|
||||||
Source: https://downloads.sourceforge.net/project/aoo-extensions/3138/0/dict-st_za-2009.10.30.oxt
|
Source: https://downloads.sourceforge.net/project/aoo-extensions/3138/0/dict-st_za-2009.10.30.oxt
|
||||||
URL: http://www.translate.org.za/
|
URL: http://www.translate.org.za/
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -30,15 +35,19 @@ for i in README-st_ZA.txt release-notes-st_ZA.txt package-description.txt; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README-st_ZA.txt release-notes-st_ZA.txt package-description.txt
|
%doc README-st_ZA.txt release-notes-st_ZA.txt package-description.txt
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 11 2022 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 0.20091030-23
|
||||||
|
- 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.20091030-22
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20091030-22
|
||||||
- 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