From 643ad09b6f22e2f1a155caae10b26af1758ff170 Mon Sep 17 00:00:00 2001 From: Takao Fujiwara Date: Mon, 19 Mar 2018 19:36:58 +0900 Subject: [PATCH] Reverted ibus-anthy-python --- ibus-anthy.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ibus-anthy.spec b/ibus-anthy.spec index 7914308..7b39d66 100644 --- a/ibus-anthy.spec +++ b/ibus-anthy.spec @@ -46,13 +46,17 @@ BuildRequires: python3-devel BuildRequires: python3-gobject %else BuildRequires: python2-devel +% if (0%{?fedora} && 0%{?fedora} <= 27) || (0%{?rhel} && 0%{?rhel} <= 7) +BuildRequires: pygobject3-base +% else BuildRequires: python2-gobject-base +% endif %endif Requires: ibus >= %{require_ibus_version} Requires: kasumi Requires: anthy -Requires: python2-%{name} = %{version}-%{release} +Requires: %{name}-python = %{version}-%{release} %description The Anthy engine for IBus platform. It provides Japanese input method from @@ -68,8 +72,13 @@ Requires: gtk3 Requires: python3-cairo Requires: python3-gobject %else +% if (0%{?fedora} && 0%{?fedora} <= 27) || (0%{?rhel} && 0%{?rhel} <= 7) +Requires: pycairo +Requires: pygobject3 +% else Requires: python2-cairo Requires: python2-gobject +% endif %endif %description python