diff --git a/modify-some-trans-error.patch b/modify-some-trans-error.patch new file mode 100644 index 0000000..2876e28 --- /dev/null +++ b/modify-some-trans-error.patch @@ -0,0 +1,32 @@ +diff -Nur a/data/dictionary/STPhrases.txt b/data/dictionary/STPhrases.txt +--- a/data/dictionary/STPhrases.txt 2021-09-03 22:26:10.000000000 +0800 ++++ b/data/dictionary/STPhrases.txt 2022-11-28 16:36:39.216286051 +0800 +@@ -49042,3 +49042,7 @@ + 龚胜 龔勝 + 龟卜 龜卜 + 龟鉴 龜鑑 ++芯片面积 芯片面積 ++正則表達式 正則表示式 ++衍生发行版 衍生發行版 ++可是只有他才能完成这个任务 可是只有他才能完成這個任務 +diff -Nur a/data/dictionary/TSPhrases.txt b/data/dictionary/TSPhrases.txt +--- a/data/dictionary/TSPhrases.txt 2021-09-03 22:26:10.000000000 +0800 ++++ b/data/dictionary/TSPhrases.txt 2022-11-28 16:43:32.650279186 +0800 +@@ -30,7 +30,7 @@ + 乾隆年間 乾隆年间 + 乾隆皇帝 乾隆皇帝 + 以免藉口 以免借口 +-以功覆過 以功复过 ++以功覆過 以功覆过 + 侔德覆載 侔德复载 + 傢俱 家具 + 傷亡枕藉 伤亡枕藉 +@@ -125,7 +125,7 @@ + 無序 无序 + 牴牾 抵牾 + 牴觸 抵触 +-狐藉虎威 狐借虎威 ++狐藉虎威 狐藉虎威 + 珍珠項鍊 珍珠项链 + 甚鉅 甚钜 + 申覆 申复 diff --git a/opencc.spec b/opencc.spec index 9028503..04c456a 100644 --- a/opencc.spec +++ b/opencc.spec @@ -1,10 +1,11 @@ Name: opencc Version: 1.1.3 -Release: 1 +Release: 2 Summary: Simplified Chinese Traditional Conversion Library License: ASL 2.0 URL: https://github.com/BYVoid/OpenCC Source0: https://github.com/BYVoid/OpenCC/archive/ver.%{version}.tar.gz#/OpenCC-ver.%{version}.tar.gz +Patch0001: modify-some-trans-error.patch Provides: %{name}-tools = %{version}-%{release} Obsoletes: %{name}-tools < %{version}-%{release} @@ -65,6 +66,9 @@ ctest %{_datadir}/opencc/doc %changelog +* Tue Aug 29 2023 wulei - 1.1.3-2 +- Modify some trans error + * Fri Dec 31 2021 houyingchao - 1.1.3-1 - Upgrade to 1.1.3 version