Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem
This commit is contained in:
parent
ed579f21cd
commit
d8484d6d24
@ -1,8 +1,14 @@
|
||||
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||
%global dict_dirname hunspell
|
||||
%else
|
||||
%global dict_dirname myspell
|
||||
%endif
|
||||
|
||||
Name: hunspell-mk
|
||||
Summary: Macedonian hunspell dictionaries
|
||||
%global upstreamid 20051126
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 25%{?dist}
|
||||
Release: 26%{?dist}
|
||||
Source: http://download.services.openoffice.org/contrib/dictionaries/mk_MK.zip
|
||||
URL: https://wiki.openoffice.org/wiki/Dictionaries
|
||||
License: GPL+
|
||||
@ -10,7 +16,7 @@ BuildArch: noarch
|
||||
#change encoding name to use the name that iconv knows this under
|
||||
Patch0: hunspell-mk-iconv.patch
|
||||
|
||||
Requires: hunspell
|
||||
Requires: hunspell-filesystem
|
||||
Supplements: (hunspell and langpacks-mk)
|
||||
|
||||
%description
|
||||
@ -22,15 +28,19 @@ Macedonian hunspell dictionaries.
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||
|
||||
|
||||
%files
|
||||
%doc README_mk_MK.txt
|
||||
%{_datadir}/myspell/*
|
||||
%{_datadir}/%{dict_dirname}/*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.20051126-26
|
||||
- Add conditional for new hunspell dir path and update to Requires:
|
||||
hunspell-filesystem
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20051126-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user