diff --git a/gnome-applets.spec b/gnome-applets.spec index de1941a..99b8fee 100644 --- a/gnome-applets.spec +++ b/gnome-applets.spec @@ -23,7 +23,7 @@ # %define gnome_python_version 2.10 %define gconf_version 2.14.0 # %define libgnomekbd_version 2.27.4 -%define libgweather_version 2.91.0 +%define libgweather_version 3.5.0 %define po_package gnome-applets-2.0 @@ -209,11 +209,13 @@ fi %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 %{po_package}.lang @@ -250,6 +252,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_libexecdir}/invest-applet %{_sysconfdir}/gconf/schemas/* %{_sysconfdir}/dbus-1/system.d/org.gnome.CPUFreqSelector.conf +%{_datadir}/glib-2.0/schemas/org.gnome.applets.GWeatherApplet.gschema.xml %{_datadir}/polkit-1/actions/org.gnome.cpufreqselector.policy %{_datadir}/dbus-1/system-services/org.gnome.CPUFreqSelector.service %{_datadir}/dbus-1/services/* @@ -259,6 +262,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog * Sat Sep 22 2012 Kalev Lember - 1:3.5.92-2 - Update the icon cache scriptlets +- Fix the build; add glib-compile-schemas scriptlets * Thu Sep 20 2012 Richard Hughes - 1:3.5.92-1 - Update to 3.5.92