diff --git a/dogtail.spec b/dogtail.spec index a0ac6c2..40c71ea 100644 --- a/dogtail.spec +++ b/dogtail.spec @@ -64,18 +64,6 @@ find examples -type f -exec chmod 0644 \{\} \; desktop-file-install $RPM_BUILD_ROOT/%{_datadir}/applications/sniff.desktop \ --dir=$RPM_BUILD_ROOT/%{_datadir}/applications \ -%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 -n python3-dogtail %{python3_sitelib}/dogtail/ %{_datadir}/dogtail/