Update to 0.9.91

This commit is contained in:
Peng Wu 2013-04-30 10:56:19 +08:00
parent 0053ac93cd
commit a246a36905
5 changed files with 9 additions and 30 deletions

1
.gitignore vendored
View File

@ -19,3 +19,4 @@
/libpinyin-0.8.91.tar.gz
/libpinyin-0.8.92.tar.gz
/libpinyin-0.8.93.tar.gz
/libpinyin-0.9.91.tar.gz

View File

View File

@ -1,25 +0,0 @@
From 00fec992f5c760f546a1db933fb08325fc9cccbf Mon Sep 17 00:00:00 2001
From: Peng Wu <alexepico@gmail.com>
Date: Sat, 23 Mar 2013 09:52:46 +0800
Subject: [PATCH] fixes import dict
---
src/storage/phrase_large_table2.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/storage/phrase_large_table2.h b/src/storage/phrase_large_table2.h
index 368d03d..34bb12d 100644
--- a/src/storage/phrase_large_table2.h
+++ b/src/storage/phrase_large_table2.h
@@ -133,7 +133,7 @@ static inline int reduce_tokens(const PhraseTokens tokens,
}
/* the following line will be removed in future after code are verified. */
- assert(0 == num || 1 == num);
+ assert(0 <= num && num <= 3);
return num;
}
--
1.8.1.4

View File

@ -1,15 +1,15 @@
%global snapshot 1
%global snapshot 0
Name: libpinyin
Version: 0.8.93
Release: 2%{?dist}
Version: 0.9.91
Release: 1%{?dist}
Summary: Library to deal with pinyin
License: GPLv2+
URL: https://github.com/libpinyin/libpinyin
Source0: http://downloads.sourceforge.net/libpinyin/libpinyin/%{name}-%{version}.tar.gz
%if %snapshot
Patch0: libpinyin-0.9.x-head.patch
Patch0: libpinyin-0.10.x-head.patch
%endif
BuildRequires: libdb-devel, glib2-devel
@ -92,6 +92,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_mandir}/man1/*.1.*
%changelog
* Sun Apr 28 2013 Peng Wu <pwu@redhat.com> - 0.9.91-1
- Update to 0.9.91
* Sat Mar 23 2013 Peng Wu <pwu@redhat.com> - 0.8.93-2
- Fixes import dictionary

View File

@ -1 +1 @@
b24ca4f7191048cb68ba564cda2ac372 libpinyin-0.8.93.tar.gz
7430dee796bf8034ed3cdf6fcee906a7 libpinyin-0.9.91.tar.gz