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