Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem
This commit is contained in:
parent
30c52acbde
commit
63be4d1bb6
@ -1,7 +1,13 @@
|
||||
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||
%global dict_dirname hunspell
|
||||
%else
|
||||
%global dict_dirname myspell
|
||||
%endif
|
||||
|
||||
Name: hunspell-lt
|
||||
Summary: Lithuanian hunspell dictionaries
|
||||
Version: 1.2.1
|
||||
Release: 26%{?dist}
|
||||
Release: 27%{?dist}
|
||||
## Note that upstream is dead and there is no download link available
|
||||
## so please don't report FTBFS bugs for this package.
|
||||
Source: ftp://ftp.akl.lt/ispell-lt/lt_LT-%{version}.zip
|
||||
@ -9,7 +15,7 @@ URL: ftp://ftp.akl.lt/ispell-lt/
|
||||
License: BSD
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: hunspell
|
||||
Requires: hunspell-filesystem
|
||||
Supplements: (hunspell and langpacks-lt)
|
||||
|
||||
%description
|
||||
@ -27,15 +33,19 @@ for i in INSTRUKCIJOS.txt; do
|
||||
done
|
||||
|
||||
%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.EN INSTRUKCIJOS.txt
|
||||
%{_datadir}/myspell/*
|
||||
%{_datadir}/%{dict_dirname}/*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 1.2.1-27
|
||||
- Add conditional for new hunspell dir path and update to Requires:
|
||||
hunspell-filesystem
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-26
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user