From 00c8719ba0238eaa209ae7ff9283ac81122e0ea3 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mar 08 2006 18:14:45 +0000 Subject: - improve package installation time by running gconftool-2 only once in %%post --- diff --git a/gnome-applets.spec b/gnome-applets.spec index 4992281..6cd1c79 100644 --- a/gnome-applets.spec +++ b/gnome-applets.spec @@ -18,7 +18,7 @@ Summary: Small applications for the GNOME panel. Name: gnome-applets Version: 2.13.90 -Release: 5 +Release: 6 Epoch: 1 License: GPL Group: User Interface/Desktops @@ -141,10 +141,22 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then fi export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` -SCHEMAS="battstat.schemas charpick.schemas cpufreq-applet.schemas drivemount.schemas geyes.schemas gswitchit.schemas gtik.schemas gweather.schemas mini-commander-global.schemas mini-commander.schemas mixer.schemas modemlights.schemas multiload.schemas stickynotes.schemas" -for S in $SCHEMAS; do - gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null -done + +gconftool-2 --makefile-install-rule \ + %{_sysconfdir}/gconf/schemas/battstat.schemas \ + %{_sysconfdir}/gconf/schemas/charpick.schemas \ + %{_sysconfdir}/gconf/schemas/cpufreq-applet.schemas \ + %{_sysconfdir}/gconf/schemas/divemount.schemas \ + %{_sysconfdir}/gconf/schemas/geyes.schemas \ + %{_sysconfdir}/gconf/schemas/gswitchit.schemas \ + %{_sysconfdir}/gconf/schemas/gtik.schemas \ + %{_sysconfdir}/gconf/schemas/gweather.schemas \ + %{_sysconfdir}/gconf/schemas/mini-commander-global.schemas \ + %{_sysconfdir}/gconf/schemas/mini-commander.schemas \ + %{_sysconfdir}/gconf/schemas/mixer.schemas \ + %{_sysconfdir}/gconf/schemas/modemlights.schemas \ + %{_sysconfdir}/gconf/schemas/multiload.schemas \ + %{_sysconfdir}/gconf/schemas/stickynotes.schemas > /dev/null %{_libexecdir}/gnome-applets/mc-install-default-macros > /dev/null %postun @@ -183,6 +195,10 @@ fi %{_libdir}/pkgconfig/gweather.pc %changelog +* Wed Mar 8 2006 Ray Strode - 2.13.90-6 +- improve package installation time by running gconftool-2 only + once in %%post + * Wed Mar 8 2006 Matthias Clasen - 2.13.90-5 - Fix a crash in the mixer applet (#184285, #182957)