Resolves: #1963073 Fix covscan report

This commit is contained in:
Takao Fujiwara 2021-07-13 18:21:03 +09:00
parent 8154e1fa49
commit 76dc0da294
2 changed files with 4556 additions and 4 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,10 @@
%global pkg anthy-unicode %global pkg anthy-unicode
%bcond_with xemacs %bcond_with xemacs
%bcond_with autoreconf %bcond_without autoreconf
Name: anthy-unicode Name: anthy-unicode
Version: 1.0.0.20201109 Version: 1.0.0.20201109
Release: 5%{?dist} Release: 6%{?dist}
# The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain.
License: LGPLv2+ and GPLv2 and Public Domain License: LGPLv2+ and GPLv2 and Public Domain
URL: https://github.com/fujiwarat/anthy-unicode/wiki URL: https://github.com/fujiwarat/anthy-unicode/wiki
@ -25,6 +25,7 @@ Source0: https://github.com/fujiwarat/anthy-unicode/releases/download/%{version}
Source1: %{name}-init.el Source1: %{name}-init.el
# Upstreamed patches # Upstreamed patches
#Patch0: %%{name}-HEAD.patch #Patch0: %%{name}-HEAD.patch
Patch0: %{name}-HEAD.patch
Summary: Japanese character set input library for Unicode Summary: Japanese character set input library for Unicode
@ -116,12 +117,11 @@ cd ../src-util
env $_TEST_ENV ./anthy-dic-tool-unicode --load dic-tool-input env $_TEST_ENV ./anthy-dic-tool-unicode --load dic-tool-input
diff $HOME/.config/anthy/private_words_default dic-tool-result diff $HOME/.config/anthy/private_words_default dic-tool-result
env $_TEST_ENV ./anthy-dic-tool-unicode --dump env $_TEST_ENV ./anthy-dic-tool-unicode --dump
mkdir $HOME/.anthy mkdir -p $HOME/.anthy
mv $HOME/.config/anthy/private_words_default $HOME/.anthy mv $HOME/.config/anthy/private_words_default $HOME/.anthy
env $_TEST_ENV ./anthy-dic-tool-unicode --migrate env $_TEST_ENV ./anthy-dic-tool-unicode --migrate
diff $HOME/.config/anthy/private_words_default dic-tool-result diff $HOME/.config/anthy/private_words_default dic-tool-result
cd .. cd ..
rm test.conf
%ldconfig_scriptlets %ldconfig_scriptlets
@ -161,6 +161,9 @@ rm test.conf
%changelog %changelog
* Tue Jul 13 2021 Takao Fujiwara <fujiwara@redhat.com> 1.0.0.20201109-6
- Fix covscan report. Related: rhbz#1963073
* Mon May 03 2021 Takao Fujiwara <fujiwara@redhat.com> 1.0.0.20201109-5 * Mon May 03 2021 Takao Fujiwara <fujiwara@redhat.com> 1.0.0.20201109-5
- Delete unnecessary xemacs in tests/tests.yml. Related: rhbz#1956212 - Delete unnecessary xemacs in tests/tests.yml. Related: rhbz#1956212