diff --git a/ibus-table.changes b/ibus-table.changes index 7a0a160..a6c6b6a 100644 --- a/ibus-table.changes +++ b/ibus-table.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 26 12:04:17 CST 2014 - hillwood@linuxfans.org + +- Switch python to python3 + ------------------------------------------------------------------- Fri Jul 4 12:04:17 CST 2014 - hillwood@linuxfans.org diff --git a/ibus-table.spec b/ibus-table.spec index 0817350..47e10df 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -30,7 +30,10 @@ Url: http://code.google.com/p/ibus/ Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: ibus >= 1.4.99 -Requires: python-curses +Requires: python3 +Requires: python3-curses +BuildRequires: ibus-devel > 1.4.99 +BuildRequires: python3-devel %description The package contains general Table engine for IBus platform. @@ -48,6 +51,7 @@ This package contains the files required for the development of ibus-table. chmod -x AUTHORS COPYING README %build +export PYTHON=python3 %configure \ --disable-static --libexecdir=%{_prefix}/%{_lib}/ibus make %{?jobs:-j %jobs}