update to 0.6.92

This commit is contained in:
Peng Wu 2012-07-04 13:27:32 +08:00
parent b67b09615f
commit 521c40734a
5 changed files with 8 additions and 29 deletions

1
.gitignore vendored
View File

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

View File

@ -1,25 +0,0 @@
From 7a1e07bce049bddefc7404cb6e12158ca1742463 Mon Sep 17 00:00:00 2001
From: Peng Wu <alexepico@gmail.com>
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

View File

View File

@ -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 <pwu@redhat.com> - 0.6.92-1
- Update to 0.6.92
* Tue Jun 12 2012 Peng Wu <pwu@redhat.com> - 0.6.0-3
- Removes provides ibus-pinyin-db

View File

@ -1 +1 @@
501e4db635c1af0553a0ef7f1be3b0e1 libpinyin-0.6.0.tar.gz
d466c065eb3ac492ee81342e73ad29d7 libpinyin-0.6.92.tar.gz