- Silence the output of update-mime-database to fix rh#454782

This commit is contained in:
Richard Hughes 2008-07-15 07:37:03 +00:00
parent ffa821b014
commit 1853291c2a

View File

@ -9,7 +9,7 @@
Summary: System daemon that is a DBUS abstraction layer for package management
Name: PackageKit
Version: 0.2.3
Release: 5.%{?alphatag}%{?dist}
Release: 6.%{?alphatag}%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://packagekit.freedesktop.org
@ -124,10 +124,10 @@ chmod 755 $RPM_BUILD_ROOT%{_libexecdir}/PackageKitDbusTest.py
rm -rf $RPM_BUILD_ROOT
%post
update-mime-database %{_datadir}/mime
update-mime-database %{_datadir}/mime &> /dev/null || :
%postun
update-mime-database %{_datadir}/mime
update-mime-database %{_datadir}/mime &> /dev/null || :
%post libs -p /sbin/ldconfig
@ -200,6 +200,9 @@ update-mime-database %{_datadir}/mime
%{_includedir}/*
%changelog
* Tue Jul 15 2008 Richard Hughes <rhughes@redhat.com> - 0.2.3-6
- Silence the output of update-mime-database to fix rh#454782
* Mon Jun 23 2008 Richard Hughes <rhughes@redhat.com> - 0.2.3-5.20080618
- Own the /etc/bash_completion.d directory as we don't depend on the
bash-completion package. Fixes rh#450964.