fix file lists

This commit is contained in:
Matthias Clasen 2011-08-18 13:29:13 -04:00
parent e42bff3e5b
commit f2147a0f99

View File

@ -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