Bump 1.0.0.20201109

This commit is contained in:
Takao Fujiwara 2020-11-09 16:59:58 +09:00
parent e98fd1c22a
commit 4de59f07ca
4 changed files with 25 additions and 7 deletions

1
.gitignore vendored
View File

@ -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

0
anthy-unicode-HEAD.patch Normal file
View File

View File

@ -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 <fujiwara@redhat.com> 1.0.0.20201109-1
- Bump 1.0.0.20201109
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0.20191015-5
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (anthy-unicode-1.0.0.20191015.tar.gz) = 917fad11c65f8f1218da34103737706776257217e0d2bfe2c3a7c0b5db1eb4971312f0b6cdd8d6efff17844c88452f2da07a137c89cb0c4bb329a3e1cab471e4
SHA512 (anthy-unicode-1.0.0.20201109.tar.gz) = 963f44df6defe725138de5697e3be8ae6c84ac723fc66c09996c11b99bd7ce24331908caad61c547f90122dadb6ec46fb2b5b3aa9526151c912fd19ed583c345