diff --git a/.gitignore b/.gitignore index 791c900..123a027 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /anthy-unicode-1.0.0.20190412.tar.gz /anthy-unicode-1.0.0.20191015.tar.gz +/anthy-unicode-1.0.0.20201109.tar.gz diff --git a/anthy-unicode-HEAD.patch b/anthy-unicode-HEAD.patch new file mode 100644 index 0000000..e69de29 diff --git a/anthy-unicode.spec b/anthy-unicode.spec index 1584a45..7f0ebba 100644 --- a/anthy-unicode.spec +++ b/anthy-unicode.spec @@ -1,10 +1,10 @@ %global pkg anthy-unicode %bcond_with xemacs -%bcond_without autoreconf +%bcond_with autoreconf Name: anthy-unicode -Version: 1.0.0.20191015 -Release: 5%{?dist} +Version: 1.0.0.20201109 +Release: 1%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: https://github.com/fujiwarat/anthy-unicode/wiki @@ -24,7 +24,6 @@ Source0: https://github.com/fujiwarat/anthy-unicode/releases/download/%{version} Source1: %{name}-init.el # Upstreamed patches #Patch0: %%{name}-HEAD.patch -Patch0: %{name}-HEAD.patch Summary: Japanese character set input library for Unicode @@ -105,9 +104,24 @@ cp $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/*.el \ %endif %check +sed -e "s|@datadir@|$PWD|" -e "s|@PACKAGE@|mkanthydic|" \ + anthy-unicode.conf.in > test.conf +_TEST_ENV="LD_LIBRARY_PATH=$PWD/src-main/.libs:$PWD/src-worddic/.libs" +_TEST_ENV="$_TEST_ENV CONFFILE=$PWD/test.conf" cd test -env LD_LIBRARY_PATH=../src-main/.libs:../src-worddic/.libs ./anthy --all -env LD_LIBRARY_PATH=../src-main/.libs:../src-worddic/.libs ./checklib +env $_TEST_ENV ./anthy --all +env $_TEST_ENV ./checklib +cd ../src-util +env $_TEST_ENV ./anthy-dic-tool-unicode --load dic-tool-input +diff $HOME/.config/anthy/private_words_default dic-tool-result +env $_TEST_ENV ./anthy-dic-tool-unicode --dump +mkdir $HOME/.anthy +mv $HOME/.config/anthy/private_words_default $HOME/.anthy +env $_TEST_ENV ./anthy-dic-tool-unicode --migrate +diff $HOME/.config/anthy/private_words_default dic-tool-result +cd .. +rm test.conf + %ldconfig_scriptlets @@ -146,6 +160,9 @@ env LD_LIBRARY_PATH=../src-main/.libs:../src-worddic/.libs ./checklib %changelog +* Mon Nov 09 2020 Takao Fujiwara 1.0.0.20201109-1 +- Bump 1.0.0.20201109 + * Fri Jul 31 2020 Fedora Release Engineering - 1.0.0.20191015-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 91cbaa5..fef419b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anthy-unicode-1.0.0.20191015.tar.gz) = 917fad11c65f8f1218da34103737706776257217e0d2bfe2c3a7c0b5db1eb4971312f0b6cdd8d6efff17844c88452f2da07a137c89cb0c4bb329a3e1cab471e4 +SHA512 (anthy-unicode-1.0.0.20201109.tar.gz) = 963f44df6defe725138de5697e3be8ae6c84ac723fc66c09996c11b99bd7ce24331908caad61c547f90122dadb6ec46fb2b5b3aa9526151c912fd19ed583c345