From cdb0a9c764942376b10d464882825323c35b1b6011b2febdc89cd55608c65d2d Mon Sep 17 00:00:00 2001 From: Hillwood Yang Date: Sat, 26 Jul 2014 10:46:55 +0000 Subject: [PATCH] Accepting request 242470 from home:hillwood:branches:M17N - Switch python to python3 OBS-URL: https://build.opensuse.org/request/show/242470 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-table?expand=0&rev=28 --- ibus-table.changes | 5 +++++ ibus-table.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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}