diff --git a/.gitignore b/.gitignore index a02334e..bbb5c18 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ aspell-gv-0.50-0.tar.bz2 +/hunspell-gv-0.50.tar.bz2 diff --git a/hunspell-gv.spec b/hunspell-gv.spec index cad6f48..2ddcccf 100644 --- a/hunspell-gv.spec +++ b/hunspell-gv.spec @@ -8,12 +8,12 @@ Name: hunspell-gv Summary: Manx hunspell dictionaries %global upstreamid 20040505 Version: 0.%{upstreamid} -Release: 30%{?dist} -Source: http://ftp.gnu.org/gnu/aspell/dict/gv/aspell-gv-0.50-0.tar.bz2 -URL: http://borel.slu.edu/crubadan/apps.html +Release: 31%{?dist} +# This source is generated by generate-source.sh using aspell dictionary +Source: hunspell-gv-0.50.tar.bz2 +URL: http://ftp.gnu.org/gnu/aspell/dict/gv License: GPL-1.0-or-later BuildArch: noarch -BuildRequires: aspell, hunspell-devel Requires: hunspell-filesystem Supplements: (hunspell and langpacks-gv) @@ -22,23 +22,10 @@ Supplements: (hunspell and langpacks-gv) Manx hunspell dictionaries. %prep -%setup -q -n aspell-gv-0.50-0 +%setup -q -n hunspell-gv-0.50 %build -export LANG=C.UTF-8 -preunzip -d *.cwl -cat *.wl > manx.wordlist -wordlist2hunspell manx.wordlist gv_GB -for i in Copyright doc/Crawler.txt; do - if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then - iconv -f ISO-8859-1 -t UTF-8 $i > $i.new - touch -r $i $i.new - mv -f $i.new $i - fi - tr -d '\r' < $i > $i.new - touch -r $i $i.new - mv -f $i.new $i -done +# nothing to build here %install mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} @@ -46,10 +33,14 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %files -%doc COPYING Copyright README doc/Crawler.txt +%doc COPYING Copyright README Crawler.txt %{_datadir}/%{dict_dirname}/* %changelog +* Thu Aug 03 2023 Parag Nemade - 0.20040505-31 +- Use new source archive generated using Manx aspell dictionary +- Resolves:rhbz#2218159 - Drop dependency on aspell + * Thu Jul 20 2023 Fedora Release Engineering - 0.20040505-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index ca9370b..52e3d9c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -139b5aa1f5ea85fb7a4be0338039e959 aspell-gv-0.50-0.tar.bz2 +SHA512 (hunspell-gv-0.50.tar.bz2) = 98a8b8d0b69d33806b81f4c20f27b94c792cc8afef722c975b1bde52594b599c35afb2acfff404dedafa765fdfaef99f99c13f83d7253dfd206bd2e14389e8e0