diff --git a/fcitx-chewing.spec b/fcitx-chewing.spec index 2f52f32..3c7605e 100644 --- a/fcitx-chewing.spec +++ b/fcitx-chewing.spec @@ -1,6 +1,6 @@ Name: fcitx-chewing Version: 0.2.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Chewing Wrapper for Fcitx Group: System Environment/Libraries License: GPLv2+ @@ -38,18 +38,6 @@ popd %clean rm -rf $RPM_BUILD_ROOT -%post -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - -%postun -if [ $1 -eq 0 ] ; then - /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null - /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -fi - -%posttrans -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS README COPYING @@ -64,6 +52,9 @@ fi %{_datadir}/icons/hicolor/48x48/apps/fcitx-chewing.png %changelog +* Thu Jan 11 2018 Igor Gnatenko - 0.2.3-2 +- Remove obsolete scriptlets + * Sun Sep 24 2017 Robin Lee - 0.2.3-1 - Update to 0.2.3