From c06b89c8ef6b2dc9b5711491e697bf5d656998aa Mon Sep 17 00:00:00 2001 From: Takao Fujiwara Date: Tue, 25 Feb 2020 20:30:23 +0900 Subject: [PATCH] Bug 1805634 - Add a conditional requires ibus-gtk2 with gtk2 --- ibus.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ibus.spec b/ibus.spec index 0042a5f..2faca07 100644 --- a/ibus.spec +++ b/ibus.spec @@ -35,7 +35,7 @@ Name: ibus Version: 1.5.22 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Intelligent Input Bus for Linux OS License: LGPLv2+ URL: https://github.com/ibus/%name/wiki @@ -83,6 +83,7 @@ BuildRequires: unicode-ucd BuildRequires: libXtst-devel Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Requires: (%{name}-gtk2%{?_isa} = %{version}-%{release} if gtk2) Requires: %{name}-gtk3%{?_isa} = %{version}-%{release} Requires: %{name}-setup = %{version}-%{release} @@ -459,6 +460,9 @@ dconf update || : %{_datadir}/installed-tests/ibus %changelog +* Tue Feb 25 2020 Takao Fujiwara - 1.5.22-2 +- Bug 1805634 - Add a conditional requires ibus-gtk2 with gtk2 + * Thu Feb 13 2020 Takao Fujiwara - 1.5.22-1 - Bump to 1.5.22 - Delete package depending ibus-gtk2