Silence %%pre
This commit is contained in:
parent
0f35f99bee
commit
0dfbb3b4c1
11
yelp.spec
11
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 <mclasen@redhat.com> - 2.16.1-5
|
||||
- Silence %%pre
|
||||
|
||||
* Sun Oct 29 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.1-4
|
||||
- Improve the previous fix
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user