diff --git a/modify-some-trans-error.patch b/modify-some-trans-error.patch new file mode 100644 index 0000000..0ab9657 --- /dev/null +++ b/modify-some-trans-error.patch @@ -0,0 +1,51 @@ +From 8cef5bef12bbd8c9c2ccf6a3c727cbf4cfac34c9 Mon Sep 17 00:00:00 2001 +From: si-gui <245140120@qq.com> +Date: Sun, 29 Aug 2021 06:11:13 +0800 +Subject: [PATCH] modify some trans error + +--- + data/dictionary/STPhrases.txt | 4 ++++ + data/dictionary/TSPhrases.txt | 6 +++--- + 2 files changed, 7 insertions(+), 3 deletions(-) + +diff --git a/data/dictionary/STPhrases.txt b/data/dictionary/STPhrases.txt +index 28f14fd..abfe26c 100644 +--- a/data/dictionary/STPhrases.txt ++++ b/data/dictionary/STPhrases.txt +@@ -48931,3 +48931,7 @@ + 龚胜 龔勝 + 龟卜 龜卜 + 龟鉴 龜鑑 ++芯片面积 芯片面積 ++正則表達式 正則表示式 ++衍生发行版 衍生發行版 ++可是只有他才能完成这个任务 可是只有他才能完成這個任務 +diff --git a/data/dictionary/TSPhrases.txt b/data/dictionary/TSPhrases.txt +index 03da389..6013ce3 100644 +--- a/data/dictionary/TSPhrases.txt ++++ b/data/dictionary/TSPhrases.txt +@@ -30,10 +30,10 @@ + 乾隆年間 乾隆年间 + 乾隆皇帝 乾隆皇帝 + 以免藉口 以免借口 +-以功覆過 以功复过 ++以功覆過 以功覆过 + 侔德覆載 侔德复载 + 傢俱 家具 +-傷亡枕藉 伤亡枕借 ++傷亡枕藉 伤亡枕藉 + 八濛山 八濛山 + 凌藉 凌借 + 出醜狼藉 出丑狼借 +@@ -121,7 +121,7 @@ + 滑藉 滑借 + 牴牾 抵牾 + 牴觸 抵触 +-狐藉虎威 狐借虎威 ++狐藉虎威 狐藉虎威 + 珍珠項鍊 珍珠项链 + 甚鉅 甚钜 + 申覆 申复 +-- +2.30.0 + diff --git a/opencc.spec b/opencc.spec index b25f3ab..2ea00b3 100644 --- a/opencc.spec +++ b/opencc.spec @@ -1,6 +1,6 @@ Name: opencc Version: 1.0.5 -Release: 5 +Release: 6 Summary: Simplified Chinese Traditional Conversion Library License: ASL 2.0 URL: https://github.com/BYVoid/OpenCC @@ -8,6 +8,7 @@ Source0: https://github.com/BYVoid/OpenCC/archive/ver.%{version}.tar.gz#/ Patch0001: opencc-fixes-cmake.patch Patch0002: opencc-check-bounds.patch Patch0003: opencc-stop-copy.patch +Patch0004: modify-some-trans-error.patch Provides: %{name}-tools = %{version}-%{release} Obsoletes: %{name}-tools < %{version}-%{release} @@ -68,6 +69,9 @@ ctest %{_datadir}/opencc/doc %changelog +* Sat Aug 28 2021 sunguoshuai - 1.0.5-6 +- Modify some trans error + * Mon Jun 29 2020 huanghaitao - 1.0.5-5 - Fix build error