Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem
This commit is contained in:
parent
62a76b9ac3
commit
d0de90f69b
@ -1,15 +1,21 @@
|
|||||||
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||||
|
%global dict_dirname hunspell
|
||||||
|
%else
|
||||||
|
%global dict_dirname myspell
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: hunspell-gv
|
Name: hunspell-gv
|
||||||
Summary: Manx hunspell dictionaries
|
Summary: Manx hunspell dictionaries
|
||||||
%global upstreamid 20040505
|
%global upstreamid 20040505
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 25%{?dist}
|
Release: 26%{?dist}
|
||||||
Source: http://ftp.gnu.org/gnu/aspell/dict/gv/aspell-gv-0.50-0.tar.bz2
|
Source: http://ftp.gnu.org/gnu/aspell/dict/gv/aspell-gv-0.50-0.tar.bz2
|
||||||
URL: http://borel.slu.edu/crubadan/apps.html
|
URL: http://borel.slu.edu/crubadan/apps.html
|
||||||
License: GPL+
|
License: GPL+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: aspell, hunspell-devel
|
BuildRequires: aspell, hunspell-devel
|
||||||
|
|
||||||
Requires: hunspell
|
Requires: hunspell-filesystem
|
||||||
Supplements: (hunspell and langpacks-gv)
|
Supplements: (hunspell and langpacks-gv)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -35,15 +41,19 @@ for i in Copyright doc/Crawler.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 COPYING Copyright README doc/Crawler.txt
|
%doc COPYING Copyright README doc/Crawler.txt
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.20040505-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.20040505-25
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040505-25
|
||||||
- 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