Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem
This commit is contained in:
parent
fece5a8768
commit
f432bce1c9
@ -1,7 +1,13 @@
|
||||
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||
%global dict_dirname hunspell
|
||||
%else
|
||||
%global dict_dirname myspell
|
||||
%endif
|
||||
|
||||
Name: hunspell-uz
|
||||
Summary: Uzbek hunspell dictionaries
|
||||
Version: 0.6
|
||||
Release: 24%{?dist}
|
||||
Release: 25%{?dist}
|
||||
## Note that upstream is dead and there is no download link available
|
||||
## so please don't report FTBFS bugs for this package.
|
||||
Source0: http://www-user.uni-bremen.de/~kmashrab/uzbek-word-list/uzbek-wordlist-%{version}.tar.bz2
|
||||
@ -10,7 +16,7 @@ License: GPLv2+
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: make
|
||||
Requires: hunspell
|
||||
Requires: hunspell-filesystem
|
||||
Supplements: (hunspell and langpacks-uz)
|
||||
|
||||
%description
|
||||
@ -26,16 +32,20 @@ cp -p README ../README.hunspell
|
||||
popd
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
cp -p hunspell/uz_UZ* $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||
cp -p hunspell/uz_UZ* $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/
|
||||
|
||||
|
||||
%files
|
||||
%doc ChangeLog README README.hunspell TODO
|
||||
%license COPYING Copyright
|
||||
%{_datadir}/myspell/*
|
||||
%{_datadir}/%{dict_dirname}/*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.6-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.6-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user