- Resolves: rhbz#1948197 Change post to posttrans

This commit is contained in:
Mike FABIAN 2021-04-21 07:45:51 +02:00
parent dc900797b7
commit 93c274e3ff

View File

@ -1,6 +1,6 @@
Name: ibus-table
Version: 1.12.5
Release: 2%{?dist}
Release: 3%{?dist}
Summary: The Table engine for IBus platform
License: LGPLv2+
URL: http://code.google.com/p/ibus/
@ -117,6 +117,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
%{_datadir}/%{name}
@ -139,6 +143,9 @@ fi
%{_datadir}/installed-tests/%{name}
%changelog
* Wed Apr 21 2021 Mike FABIAN <mfabian@redhat.com> - 1.12.5-3
- Resolves: rhbz#1948197 Change post to posttrans
* Mon Apr 19 2021 Mike FABIAN <mfabian@redhat.com> - 1.12.5-2
- Remove post and postun (Related: rhbz#1948197)