diff --git a/.gitignore b/.gitignore index f2f1843..0d41a01 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /libpinyin-0.5.91.tar.gz /libpinyin-0.5.92.tar.gz /libpinyin-0.6.0.tar.gz +/libpinyin-0.6.92.tar.gz diff --git a/libpinyin-0.6.x-head.patch b/libpinyin-0.6.x-head.patch deleted file mode 100644 index 921ce65..0000000 --- a/libpinyin-0.6.x-head.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 7a1e07bce049bddefc7404cb6e12158ca1742463 Mon Sep 17 00:00:00 2001 -From: Peng Wu -Date: Wed, 6 Jun 2012 11:20:03 +0800 -Subject: [PATCH] fixes jv,ju in ABC - ---- - src/storage/pinyin_parser2.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp -index cebdf91..abea35c 100644 ---- a/src/storage/pinyin_parser2.cpp -+++ b/src/storage/pinyin_parser2.cpp -@@ -574,7 +574,7 @@ bool DoublePinyinParser2::parse_one_key(pinyin_option_t options, - - ChewingTone tone = CHEWING_ZERO_TONE; - options &= ~(PINYIN_INCOMPLETE|CHEWING_INCOMPLETE); -- options |= PINYIN_CORRECT_UE_VE; -+ options |= PINYIN_CORRECT_UE_VE | PINYIN_CORRECT_V_U; - - /* parse tone */ - if (3 == len) { --- -1.7.10.2 - diff --git a/libpinyin-0.7.x-head.patch b/libpinyin-0.7.x-head.patch new file mode 100644 index 0000000..e69de29 diff --git a/libpinyin.spec b/libpinyin.spec index 52de3d5..e971364 100644 --- a/libpinyin.spec +++ b/libpinyin.spec @@ -1,12 +1,12 @@ Name: libpinyin -Version: 0.6.0 -Release: 3%{?dist} +Version: 0.6.92 +Release: 1%{?dist} Summary: Library to deal with pinyin License: GPLv2+ URL: https://github.com/libpinyin/libpinyin Source0: https://github.com/downloads/libpinyin/libpinyin/%{name}-%{version}.tar.gz -Patch0: libpinyin-0.6.x-head.patch +Patch0: libpinyin-0.7.x-head.patch BuildRequires: db4-devel, glib2-devel Requires: %{name}-data = %{version}-%{release} @@ -86,6 +86,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %{_mandir}/man1/*.1.* %changelog +* Wed Jul 04 2012 Peng Wu - 0.6.92-1 +- Update to 0.6.92 + * Tue Jun 12 2012 Peng Wu - 0.6.0-3 - Removes provides ibus-pinyin-db diff --git a/sources b/sources index 1e026c6..5a0455c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -501e4db635c1af0553a0ef7f1be3b0e1 libpinyin-0.6.0.tar.gz +d466c065eb3ac492ee81342e73ad29d7 libpinyin-0.6.92.tar.gz