From 0dfbb3b4c10ce33fe5c307e4f9c9cb3312f09a22 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 3 Nov 2006 14:11:32 +0000 Subject: [PATCH] Silence %%pre --- yelp.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/yelp.spec b/yelp.spec index 2622039..61c6b5f 100644 --- a/yelp.spec +++ b/yelp.spec @@ -19,7 +19,7 @@ Summary: A system documentation reader from the Gnome project Name: yelp Version: 2.16.1 -Release: 4%{?dist} +Release: 5%{?dist} Source: %{name}-%{version}.tar.bz2 # http://bugzilla.gnome.org/show_bug.cgi?id=319096 Patch1: yelp-2.15.5-fedora-docs.patch @@ -111,7 +111,7 @@ rm -rf $RPM_BUILD_ROOT %post export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` -gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/yelp.schemas > /dev/null || : +gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/yelp.schemas >& /dev/null || : update-desktop-database &> /dev/null ||: # update icon themes @@ -123,13 +123,13 @@ fi %pre if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` - gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/yelp.schemas > /dev/null || : + gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/yelp.schemas >& /dev/null || : fi %preun if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` - gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/yelp.schemas > /dev/null || : + gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/yelp.schemas >& /dev/null || : fi %postun @@ -144,6 +144,9 @@ update-desktop-database &> /dev/null ||: %{_datadir}/yelp %changelog +* Fri Nov 3 2006 Matthias Clasen - 2.16.1-5 +- Silence %%pre + * Sun Oct 29 2006 Matthias Clasen - 2.16.1-4 - Improve the previous fix