Move post to posttrans
This commit is contained in:
parent
88c9137784
commit
ed33e17c36
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
Name: ibus-anthy
|
Name: ibus-anthy
|
||||||
Version: 1.5.12
|
Version: 1.5.12
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: The Anthy engine for IBus input platform
|
Summary: The Anthy engine for IBus input platform
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/ibus/ibus/wiki
|
URL: https://github.com/ibus/ibus/wiki
|
||||||
@ -120,6 +120,11 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libanthygobject-%{sub_version}.la
|
|||||||
desktop-file-validate \
|
desktop-file-validate \
|
||||||
$RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-anthy.desktop
|
$RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-anthy.desktop
|
||||||
|
|
||||||
|
%posttrans
|
||||||
|
/sbin/ldconfig
|
||||||
|
[ -x %{_bindir}/ibus ] && \
|
||||||
|
%{_bindir}/ibus write-cache --system &>/dev/null || :
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc AUTHORS COPYING README
|
%doc AUTHORS COPYING README
|
||||||
# dir {python2_sitearch}/ibus
|
# dir {python2_sitearch}/ibus
|
||||||
@ -150,6 +155,9 @@ desktop-file-validate \
|
|||||||
%{_datadir}/installed-tests/%{name}
|
%{_datadir}/installed-tests/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 21 2021 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.12-6
|
||||||
|
- Move post to posttrans
|
||||||
|
|
||||||
* Tue Apr 20 2021 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.12-5
|
* Tue Apr 20 2021 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.12-5
|
||||||
- Delete postscripts
|
- Delete postscripts
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user