diff --git a/gnome-keyring.spec b/gnome-keyring.spec index 345647d..8c9c65c 100644 --- a/gnome-keyring.spec +++ b/gnome-keyring.spec @@ -90,14 +90,18 @@ rm $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/devel/*.la %post /sbin/ldconfig +touch %{_datadir}/icons/hicolor >&/dev/null || : %postun /sbin/ldconfig if [ $1 -eq 0 ]; then + touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : + gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas fi %posttrans +gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas @@ -122,6 +126,8 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas %{_datadir}/GConf/gsettings/*.convert %{_datadir}/glib-2.0/schemas/*.gschema.xml %{_datadir}/applications/*.desktop +%{_datadir}/icons/hicolor/*/apps/* +%{_sysconfdir}/pkcs11/modules/gnome-keyring-module %files devel %{_libdir}/lib*.so