Resolves: #1948197 Change post to posttrans

This commit is contained in:
Takao Fujiwara 2021-04-21 12:41:55 +09:00
parent cb9207a2b9
commit ef40d8efe4

View File

@ -1,6 +1,6 @@
Name: ibus-typing-booster
Version: 2.11.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: A completion input method
License: GPLv3+, ASL 2.0
URL: https://mike-fabian.github.io/ibus-typing-booster/
@ -199,6 +199,10 @@ if [ $rc != 0 ] ; then
exit $rc
fi
%posttrans
[ -x %{_bindir}/ibus ] && \
%{_bindir}/ibus write-cache --system &>/dev/null || :
%files -f %{name}.lang
%doc AUTHORS COPYING README README.html README.md
%{_datadir}/%{name}
@ -229,7 +233,10 @@ fi
%{_datadir}/applications/emoji-picker.desktop
%changelog
* Mon Apr 19 2021 Mike FABIAN <mfabian@redhat.com> - 2.11.3-1
* Wed Apr 21 2021 Takao Fujiwara <tfujiwar@redhat.com> - 2.11.2-4
- Resolves: #1948197 Change post to posttrans
* Mon Apr 19 2021 Mike FABIAN <mfabian@redhat.com> - 2.11.2-3
- Remove post and postun (Related: rhbz#1948197)
* Sun Mar 14 2021 Mike FABIAN <mfabian@redhat.com> - 2.11.2-1