diff --git a/ghex.spec b/ghex.spec index d7822e8..98ce0a5 100644 --- a/ghex.spec +++ b/ghex.spec @@ -55,15 +55,19 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ghex.desktop %post /sbin/ldconfig +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun /sbin/ldconfig if [ $1 -eq 0 ] ; then glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : + touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}-3.0.lang @@ -91,6 +95,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : - Updated description - Don't require scrollkeeper - Make sure files aren't listed twice in %%files +- Added icon cache scriplets * Sat Aug 13 2011 Adel Gadllah - 2.90.0-1 - Update to 2.90.0 - now uses GTK3