From d00b6e011e5dacd3116bc6339623b96430708ded Mon Sep 17 00:00:00 2001 From: Christopher Aillon Date: May 08 2011 02:05:03 +0000 Subject: Update gsettings scriptlet http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema cherry-picked from master Conflicts: gnome-color-manager.spec --- diff --git a/gnome-color-manager.spec b/gnome-color-manager.spec index 1af0878..6b3f4b4 100644 --- a/gnome-color-manager.spec +++ b/gnome-color-manager.spec @@ -3,7 +3,7 @@ Summary: Color management tools for GNOME Name: gnome-color-manager Version: 3.0.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: Applications/System URL: http://projects.gnome.org/gnome-color-manager/ @@ -41,9 +41,6 @@ BuildRequires: gnome-settings-daemon-devel >= 2.90.1 BuildRequires: libusb1-devel BuildRequires: docbook-utils -Requires(post): /usr/bin/gtk-update-icon-cache -Requires(postun): /usr/bin/gtk-update-icon-cache - %description gnome-color-manager is a session framework that makes it easy to manage, install and generate color profiles in the GNOME desktop. @@ -82,21 +79,21 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';' touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : update-desktop-database %{_datadir}/applications &> /dev/null || : update-mime-database %{_datadir}/mime &> /dev/null || : -glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : /sbin/ldconfig %postun 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 &> /dev/null || : fi update-desktop-database %{_datadir}/applications &> /dev/null || : update-mime-database %{_datadir}/mime &> /dev/null || : -glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : /sbin/ldconfig %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : +glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) @@ -130,6 +127,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : %{_libdir}/pkgconfig/libcolor-glib.pc %changelog +* Sat May 07 2011 Christopher Aillon - 3.0.0-3 +- Update gsettings scriptlet + * Tue Apr 26 2011 Richard Hughes - 3.0.0-2 - Add BR of vte3-devel to fix #690645