From 3b10a0e067214775bafe3d2f106bb3e5656fcc41 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 19 Jul 2021 16:13:07 +0800 Subject: [PATCH] Clean up ibus write-cache in scriptlet Resolves: #1974629 --- gating.yaml | 7 +++++++ ibus-libpinyin.spec | 14 +++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) 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-libpinyin.spec b/ibus-libpinyin.spec index c7e1d52..7c7e413 100644 --- a/ibus-libpinyin.spec +++ b/ibus-libpinyin.spec @@ -2,7 +2,7 @@ Name: ibus-libpinyin Version: 1.12.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Intelligent Pinyin engine based on libpinyin for IBus License: GPLv3+ URL: https://github.com/libpinyin/ibus-libpinyin @@ -61,14 +61,6 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-libbopo %find_lang %{name} -%post -[ -x %{_bindir}/ibus ] && \ - %{_bindir}/ibus write-cache --system &>/dev/null || : - -%postun -[ -x %{_bindir}/ibus ] && \ - %{_bindir}/ibus write-cache --system &>/dev/null || : - %files -f %{name}.lang %doc AUTHORS COPYING README %{_datadir}/metainfo/*.appdata.xml @@ -89,6 +81,10 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-libbopo %{_datadir}/ibus/component/* %changelog +* Mon Jul 19 2021 Peng Wu - 1.12.0-4 +- Clean up ibus write-cache in scriptlet +- Resolves: #1974629 + * Fri Apr 16 2021 Mohan Boddu - 1.12.0-3 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937