Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem
This commit is contained in:
parent
293d18fe43
commit
5b6da656ab
@ -1,14 +1,20 @@
|
|||||||
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||||
|
%global dict_dirname hunspell
|
||||||
|
%else
|
||||||
|
%global dict_dirname myspell
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: hunspell-am
|
Name: hunspell-am
|
||||||
Summary: Amharic hunspell dictionaries
|
Summary: Amharic hunspell dictionaries
|
||||||
%global upstreamid 20090704
|
%global upstreamid 20090704
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 22%{?dist}
|
Release: 23%{?dist}
|
||||||
Source: http://www.cs.ru.nl/~biniam/geez/dict/am_ET.zip
|
Source: http://www.cs.ru.nl/~biniam/geez/dict/am_ET.zip
|
||||||
URL: http://www.cs.ru.nl/~biniam/geez/index.php
|
URL: http://www.cs.ru.nl/~biniam/geez/index.php
|
||||||
License: GPL+
|
License: GPL+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: hunspell
|
Requires: hunspell-filesystem
|
||||||
Supplements: (hunspell and langpacks-am)
|
Supplements: (hunspell and langpacks-am)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -23,15 +29,19 @@ touch -r README.txt README.txt.new
|
|||||||
mv -f README.txt.new README.txt
|
mv -f README.txt.new README.txt
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
cp -p am_ET.* $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
cp -p am_ET.* $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.txt
|
%doc README.txt
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.20090704-23
|
||||||
|
- Add conditional for new hunspell dir path and update to Requires:
|
||||||
|
hunspell-filesystem
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090704-22
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090704-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