Delete ibus write-cache in scriptlet

ibus core has used transfiletriggerin since Fedora 35
This commit is contained in:
Takao Fujiwara 2021-06-18 22:58:55 +09:00
parent ab0b7748cb
commit f5b1b4e571

View File

@ -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,10 +61,6 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-libbopo
%find_lang %{name}
%posttrans
[ -x %{_bindir}/ibus ] && \
%{_bindir}/ibus write-cache --system &>/dev/null || :
%files -f %{name}.lang
%doc AUTHORS COPYING README
%{_datadir}/metainfo/*.appdata.xml
@ -85,6 +81,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-libbopo
%{_datadir}/ibus/component/*
%changelog
* Fri Jun 18 2021 Takao Fujiwara <tfujiwar@redhat.com> - 1.12.0-4
- Delete ibus write-cache in scriptlet
* Wed Apr 21 2021 Takao Fujiwara <tfujiwar@redhat.com> - 1.12.0-3
- Resolves: #1948197 Change post to posttrans