diff --git a/ibus-table-1.2.0.20090904-2.equalsign.patch b/ibus-table-1.2.0.20090904-2.equalsign.patch new file mode 100644 index 0000000..3e51525 --- /dev/null +++ b/ibus-table-1.2.0.20090904-2.equalsign.patch @@ -0,0 +1,15 @@ +diff -up ibus-table-1.2.0.20090912/engine/tabcreatedb.py.orig ibus-table-1.2.0.20090912/engine/tabcreatedb.py +--- ibus-table-1.2.0.20090912/engine/tabcreatedb.py.orig 2010-01-06 12:14:40.098086168 +1000 ++++ ibus-table-1.2.0.20090912/engine/tabcreatedb.py 2010-01-06 12:14:57.293835609 +1000 +@@ -173,9 +173,9 @@ def main (): + def attribute_parser (f): + for l in f: + try: +- attr,val = unicode (l,"utf-8").strip().split ('=') ++ attr,val = unicode (l,"utf-8").strip().split ('=', 1) + except: +- attr,val = unicode (l,"utf-8").strip().split ('==') ++ attr,val = unicode (l,"utf-8").strip().split ('==', 1) + attr = attr.strip() + origin_attr = attr + attr = attr.lower() diff --git a/ibus-table.spec b/ibus-table.spec index a97b875..e4ae19b 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -1,12 +1,13 @@ Name: ibus-table Version: 1.2.0.20090912 -Release: 1%{?dist} +Release: 3%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ Group: System Environment/Libraries URL: http://code.google.com/p/ibus/ Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz Patch0: ibus-table-1.2.0.20090912-1.disable_speedmeter.patch +Patch1: ibus-table-1.2.0.20090904-2.equalsign.patch Requires: ibus > 1.2.0 BuildRequires: ibus-devel > 1.2.0 @@ -28,6 +29,7 @@ This package contains additional tables. %prep %setup -q %patch0 -p1 -b .1-disable_speedmeter +%patch1 -p1 -b .2-equalsign %build %configure --disable-static @@ -108,6 +110,9 @@ ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/latex.db %{_datadir}/ibus-table/icons/latex.svg %changelog +* Wed Jan 06 2010 Caius 'kaio' Chance - 1.2.0.20090912-3.fc13 +- Apply parsing equal sign patch. + * Wed Nov 11 2009 Caius 'kaio' Chance - 1.2.0.20090912-2.fc13 - Fix crashing caused by speedmeter.