- Update desktop database on %postun as well (bug #236163).

- Resolves: rhbz#236163
This commit is contained in:
Tim Waugh 2007-04-17 08:50:36 +00:00
parent 0f94397466
commit 4b5d27a8e3

View File

@ -1,7 +1,7 @@
Summary: HP Linux Imaging and Printing Project
Name: hplip
Version: 1.7.2
Release: 7%{?dist}
Release: 8%{?dist}
License: GPL/MIT/BSD
Group: System Environment/Daemons
Conflicts: system-config-printer < 0.6.132
@ -50,7 +50,8 @@ Summary: HPLIP graphical tools
Group: Applications/System
License: BSD
Requires: PyQt
Requires: desktop-file-utils >= 0.2.92
Requires(post): desktop-file-utils >= 0.2.92
Requires(postun): desktop-file-utils >= 0.2.92
Requires: %{name} = %{version}-%{release}
%description gui
@ -270,6 +271,9 @@ exit 0
%post gui
/usr/bin/update-desktop-database &>/dev/null ||:
%postun gui
/usr/bin/update-desktop-database &>/dev/null ||:
%post -n libsane-hpaio
/sbin/ldconfig
if [ -f /etc/sane.d/dll.conf ] && \
@ -279,6 +283,9 @@ fi
exit 0
%changelog
* Tue Apr 17 2007 Tim Waugh <twaugh@redhat.com> 1.7.2-8
- Update desktop database on %%postun as well (bug #236163).
* Mon Apr 16 2007 Tim Waugh <twaugh@redhat.com> 1.7.2-7
- Some parts can run without GUI support after all (bug #236161).
- Added /sbin/service and /sbin/chkconfig requirements for the scriptlets