From 940df1feb84a42fc370d661cf908309b1b45862d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 5 Feb 2007 14:44:50 +0000 Subject: [PATCH] fix scriptlet errors --- devhelp.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/devhelp.spec b/devhelp.spec index e35a7f0..1765f75 100644 --- a/devhelp.spec +++ b/devhelp.spec @@ -4,7 +4,7 @@ Name: devhelp Version: 0.13 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL Group: Development/Tools Summary: API document browser @@ -88,7 +88,8 @@ if [ "$1" -eq 0 ]; then gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/devhelp.schemas > /dev/null || : fi -%post -p /sbin/ldconfig +%post +/sbin/ldconfig export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/devhelp.schemas > /dev/null || : touch --no-create %{_datadir}/icons/hicolor @@ -96,7 +97,8 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi -%postun -p /sbin/ldconfig +%postun +/sbin/ldconfig touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor @@ -125,6 +127,9 @@ fi %{_libdir}/pkgconfig/* %changelog +* Mon Feb 5 2007 Matthias Clasen - 0.13-3 +- Fix scriptlet errors + * Sun Feb 04 2007 Matthew Barnes - 0.13-2.fc7 - Incorporate suggestions from package review.