From abd66d61c69be6036bf8b92a07153b78b855027a Mon Sep 17 00:00:00 2001 From: Takao Fujiwara Date: Tue, 22 Jun 2021 19:20:40 +0900 Subject: [PATCH] Resolves: #1974646 Use transfiletriggerin for ibus write-cache --- gating.yaml | 7 +++++++ ibus.spec | 12 +++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 gating.yaml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..b540738 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + # this is the testcase identifier, which OSCI pipeline uses + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/ibus.spec b/ibus.spec index c7b3495..cbda144 100644 --- a/ibus.spec +++ b/ibus.spec @@ -38,7 +38,7 @@ Name: ibus Version: 1.5.24 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Intelligent Input Bus for Linux OS License: LGPLv2+ URL: https://github.com/ibus/%name/wiki @@ -379,6 +379,12 @@ fi %posttrans dconf update || : + +%transfiletriggerin -- %{_datadir}/ibus/component +[ -x %{_bindir}/ibus ] && \ + %{_bindir}/ibus write-cache --system &>/dev/null || : + +%transfiletriggerpostun -- %{_datadir}/ibus/component [ -x %{_bindir}/ibus ] && \ %{_bindir}/ibus write-cache --system &>/dev/null || : @@ -494,6 +500,10 @@ dconf update || : %{_datadir}/installed-tests/ibus %changelog +* Tue Jun 22 2021 Takao Fujiwara - 1.5.24-7 +- Use transfiletriggerin for ibus write-cache. Related: rhbz#1963071 +- Add gating.yaml + * Wed May 26 2021 Takao Fujiwara - 1.5.24-6 - Fix minor covscan reviews. Related: rhbz#1963071