Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem
This commit is contained in:
parent
9b50a3ce6d
commit
556fc1ced8
@ -1,14 +1,20 @@
|
|||||||
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||||
|
%global dict_dirname hunspell
|
||||||
|
%else
|
||||||
|
%global dict_dirname myspell
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: hunspell-cy
|
Name: hunspell-cy
|
||||||
Summary: Welsh hunspell dictionaries
|
Summary: Welsh hunspell dictionaries
|
||||||
%global upstreamid 20040425
|
%global upstreamid 20040425
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 26%{?dist}
|
Release: 27%{?dist}
|
||||||
Source: http://download.services.openoffice.org/contrib/dictionaries/cy_GB.zip
|
Source: http://download.services.openoffice.org/contrib/dictionaries/cy_GB.zip
|
||||||
URL: http://www.e-gymraeg.co.uk/
|
URL: http://www.e-gymraeg.co.uk/
|
||||||
License: GPL+
|
License: GPL+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: hunspell
|
Requires: hunspell-filesystem
|
||||||
Supplements: (hunspell and langpacks-cy)
|
Supplements: (hunspell and langpacks-cy)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -31,15 +37,19 @@ for i in README_cy_GB.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_cy_GB.txt
|
%doc README_cy_GB.txt
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.20040425-27
|
||||||
|
- Add conditional for new hunspell dir path and update to Requires:
|
||||||
|
hunspell-filesystem
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040425-26
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040425-26
|
||||||
- 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