Silence %%pre

This commit is contained in:
Matthias Clasen 2006-11-03 14:11:32 +00:00
parent 0f35f99bee
commit 0dfbb3b4c1

View File

@ -19,7 +19,7 @@
Summary: A system documentation reader from the Gnome project Summary: A system documentation reader from the Gnome project
Name: yelp Name: yelp
Version: 2.16.1 Version: 2.16.1
Release: 4%{?dist} Release: 5%{?dist}
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
# http://bugzilla.gnome.org/show_bug.cgi?id=319096 # http://bugzilla.gnome.org/show_bug.cgi?id=319096
Patch1: yelp-2.15.5-fedora-docs.patch Patch1: yelp-2.15.5-fedora-docs.patch
@ -111,7 +111,7 @@ rm -rf $RPM_BUILD_ROOT
%post %post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` 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-desktop-database &> /dev/null ||:
# update icon themes # update icon themes
@ -123,13 +123,13 @@ fi
%pre %pre
if [ "$1" -eq 0 ]; then if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` 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 fi
%preun %preun
if [ "$1" -eq 0 ]; then if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` 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 fi
%postun %postun
@ -144,6 +144,9 @@ update-desktop-database &> /dev/null ||:
%{_datadir}/yelp %{_datadir}/yelp
%changelog %changelog
* Fri Nov 3 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.1-5
- Silence %%pre
* Sun Oct 29 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.1-4 * Sun Oct 29 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.1-4
- Improve the previous fix - Improve the previous fix