Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem
This commit is contained in:
parent
4d0417bc50
commit
d85f5a1b92
@ -1,14 +1,20 @@
|
|||||||
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||||
|
%global dict_dirname hunspell
|
||||||
|
%else
|
||||||
|
%global dict_dirname myspell
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: hunspell-fur
|
Name: hunspell-fur
|
||||||
Summary: Friulian hunspell dictionaries
|
Summary: Friulian hunspell dictionaries
|
||||||
%global upstreamid 20050912
|
%global upstreamid 20050912
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 24%{?dist}
|
Release: 25%{?dist}
|
||||||
Source: http://digilander.libero.it/paganf/coretors/myspell-fur-12092005.zip
|
Source: http://digilander.libero.it/paganf/coretors/myspell-fur-12092005.zip
|
||||||
URL: http://digilander.libero.it/paganf/coretors/dizionaris.html
|
URL: http://digilander.libero.it/paganf/coretors/dizionaris.html
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: hunspell
|
Requires: hunspell-filesystem
|
||||||
Supplements: (hunspell and langpacks-fur)
|
Supplements: (hunspell and langpacks-fur)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -31,15 +37,19 @@ for i in COPYING.txt LICENCE.txt LEIMI.txt; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
cp -p fur_IT.* $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
cp -p fur_IT.* $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING.txt LEIMI.txt LICENCE.txt
|
%doc COPYING.txt LEIMI.txt LICENCE.txt
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.20050912-25
|
||||||
|
- Add conditional for new hunspell dir path and update to Requires:
|
||||||
|
hunspell-filesystem
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050912-24
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050912-24
|
||||||
- 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