Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem
This commit is contained in:
parent
65ffbeac46
commit
52afb912ef
@ -1,13 +1,19 @@
|
|||||||
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||||
|
%global dict_dirname hunspell
|
||||||
|
%else
|
||||||
|
%global dict_dirname myspell
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: hunspell-hsb
|
Name: hunspell-hsb
|
||||||
Summary: Upper Sorbian hunspell dictionaries
|
Summary: Upper Sorbian hunspell dictionaries
|
||||||
Version: 0.20060327.3
|
Version: 0.20060327.3
|
||||||
Release: 20%{?dist}
|
Release: 21%{?dist}
|
||||||
Source: https://addons.mozilla.org/firefox/downloads/file/113003/upper_sorbian_spelling_dictionary-0.0.20060327.3-tb+fx+sm.xpi
|
Source: https://addons.mozilla.org/firefox/downloads/file/113003/upper_sorbian_spelling_dictionary-0.0.20060327.3-tb+fx+sm.xpi
|
||||||
URL: http://sorbzilla.de/
|
URL: http://sorbzilla.de/
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: hunspell
|
Requires: hunspell-filesystem
|
||||||
Supplements: (hunspell and langpacks-hsb)
|
Supplements: (hunspell and langpacks-hsb)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -19,16 +25,20 @@ Upper Sorbian hunspell dictionaries.
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
cp -p dictionaries/hsb.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/hsb_DE.aff
|
cp -p dictionaries/hsb.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/hsb_DE.aff
|
||||||
cp -p dictionaries/hsb.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/hsb_DE.dic
|
cp -p dictionaries/hsb.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/hsb_DE.dic
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING README
|
%doc COPYING README
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.20060327.3-21
|
||||||
|
- Add conditional for new hunspell dir path and update to Requires:
|
||||||
|
hunspell-filesystem
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20060327.3-20
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20060327.3-20
|
||||||
- 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