diff --git a/xsane.spec b/xsane.spec index a9d6e7b..a85a3d9 100644 --- a/xsane.spec +++ b/xsane.spec @@ -15,7 +15,7 @@ Name: xsane Summary: X Window System front-end for the SANE scanner interface Version: 0.999 -Release: 23%{?dist} +Release: 24%{?dist} Source0: http://www.xsane.org/download/%{name}-%{version}.tar.gz Source1: xsane-256x256.png # use "xdg-open" instead of "netscape" to launch help browser @@ -240,18 +240,6 @@ if [ -L "%{gimpplugindir}/xsane" ]; then rm -f "%{gimpplugindir}/xsane" fi -%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 -f %{_datadir}/icons/hicolor &>/dev/null || : -fi - -%posttrans -/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : - %files -f XSANE.lang %defattr(-,root,root) %doc xsane.ACCELKEYS xsane.AUTHOR xsane.BEGINNERS-INFO xsane.BUGS xsane.CHANGES xsane.COPYING xsane.FAQ xsane.LANGUAGES xsane.LOGO xsane.NEWS xsane.ONLINEHELP xsane.PROBLEMS xsane.ROOT xsane.TODO @@ -278,6 +266,9 @@ fi %{_datadir}/sane/xsane %changelog +* Thu Jan 18 2018 Igor Gnatenko - 0.999-24 +- Remove obsolete scriptlets + * Thu Aug 03 2017 Fedora Release Engineering - 0.999-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild