Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem
This commit is contained in:
parent
78f909f1d9
commit
35d34ca368
@ -1,15 +1,21 @@
|
|||||||
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||||
|
%global dict_dirname hunspell
|
||||||
|
%else
|
||||||
|
%global dict_dirname myspell
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: hunspell-eo
|
Name: hunspell-eo
|
||||||
Summary: Esperanto hunspell dictionaries
|
Summary: Esperanto hunspell dictionaries
|
||||||
%global upstreamid 20100218
|
%global upstreamid 20100218
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Source: http://www.esperantilo.org/literumilo-fontoj.tar.gz
|
Source: http://www.esperantilo.org/literumilo-fontoj.tar.gz
|
||||||
URL: http://www.esperantilo.org
|
URL: http://www.esperantilo.org
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: hunspell
|
Requires: hunspell-filesystem
|
||||||
Supplements: (hunspell and langpacks-eo)
|
Supplements: (hunspell and langpacks-eo)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -27,16 +33,20 @@ for i in LEGUMIN.txt; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
cp -p eo_morf.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/eo.dic
|
cp -p eo_morf.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/eo.dic
|
||||||
cp -p eo_morf.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/eo.aff
|
cp -p eo_morf.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/eo.aff
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LEGUMIN.txt
|
%doc LEGUMIN.txt
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 1:0.20100218-9
|
||||||
|
- Add conditional for new hunspell dir path and update to Requires:
|
||||||
|
hunspell-filesystem
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.20100218-8
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.20100218-8
|
||||||
- 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