Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem
This commit is contained in:
parent
1c17c5e363
commit
19f046b60f
@ -1,13 +1,19 @@
|
|||||||
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||||
|
%global dict_dirname hunspell
|
||||||
|
%else
|
||||||
|
%global dict_dirname myspell
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: hunspell-cop
|
Name: hunspell-cop
|
||||||
Summary: Coptic hunspell dictionaries
|
Summary: Coptic hunspell dictionaries
|
||||||
Version: 0.3
|
Version: 0.3
|
||||||
Release: 21%{?dist}
|
Release: 22%{?dist}
|
||||||
Source: http://www.moheb.de/download/dict-cop_EG_v03.oxt
|
Source: http://www.moheb.de/download/dict-cop_EG_v03.oxt
|
||||||
URL: http://www.moheb.de/coptic_oo.html
|
URL: http://www.moheb.de/coptic_oo.html
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: hunspell
|
Requires: hunspell-filesystem
|
||||||
Supplements: (hunspell and langpacks-cop)
|
Supplements: (hunspell and langpacks-cop)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -24,16 +30,20 @@ for i in README.txt; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
cp -p cop_EG-Bohairic/cop_EG.* $RPM_BUILD_ROOT/%{_datadir}/myspell
|
cp -p cop_EG-Bohairic/cop_EG.* $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.txt
|
%doc README.txt
|
||||||
%license license-gpl.txt
|
%license license-gpl.txt
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.3-22
|
||||||
|
- Add conditional for new hunspell dir path and update to Requires:
|
||||||
|
hunspell-filesystem
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-21
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-21
|
||||||
- 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