From afe957b669b6a3146ff3f9f94f9368077bd3e7db4d41b178b5ff3adc81a6da00 Mon Sep 17 00:00:00 2001 From: Fuminobu Takeyama Date: Fri, 8 Aug 2014 14:44:14 +0000 Subject: [PATCH] Accepting request 243770 from home:fcrozat:branches:M17N - Do not build with python3 or wayland on SLE12. - Fix file list when building with python2. OBS-URL: https://build.opensuse.org/request/show/243770 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=117 --- ibus.changes | 6 ++++++ ibus.spec | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ibus.changes b/ibus.changes index ed10482..91b10e2 100644 --- a/ibus.changes +++ b/ibus.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 5 08:48:21 UTC 2014 - fcrozat@suse.com + +- Do not build with python3 or wayland on SLE12. +- Fix file list when building with python2. + ------------------------------------------------------------------- Thu Jul 31 12:07:24 UTC 2014 - ftake@geeko.jp diff --git a/ibus.spec b/ibus.spec index e1d59be..de13d6f 100644 --- a/ibus.spec +++ b/ibus.spec @@ -17,8 +17,12 @@ %define gtk_binary_version %(pkg-config --variable=gtk_binary_version gtk+-2.0) +%if 0%{?suse_version} == 1315 +%define with_python3 0 +%else %define with_python3 1 -%if 0%{?suse_version} >= 1310 +%endif +%if 0%{?suse_version} > 1315 %define with_wayland 1 %else %define with_wayland 0 @@ -390,6 +394,7 @@ dconf update %files -n python-ibus %defattr(-,root,root) %{python_sitearch}/ibus +%{python_sitearch}/gi/overrides/* %endif