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
This commit is contained in:
Hillwood Yang 2014-07-26 10:46:55 +00:00 committed by Git OBS Bridge
parent d37fff7ebe
commit cdb0a9c764
2 changed files with 10 additions and 1 deletions

View File

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

View File

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