rpms/hplip/devel hplip.spec,1.124,1.125

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Apr 17 08:50:43 UTC 2007


Author: twaugh

Update of /cvs/dist/rpms/hplip/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv21016

Modified Files:
	hplip.spec 
Log Message:
* Tue Apr 17 2007 Tim Waugh <twaugh at redhat.com> 1.7.2-8
- Update desktop database on %postun as well (bug #236163).
- Resolves: rhbz#236163



Index: hplip.spec
===================================================================
RCS file: /cvs/dist/rpms/hplip/devel/hplip.spec,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -r1.124 -r1.125
--- hplip.spec	16 Apr 2007 10:22:09 -0000	1.124
+++ hplip.spec	17 Apr 2007 08:50:36 -0000	1.125
@@ -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 @@
 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 @@
 %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 @@
 exit 0
 
 %changelog
+* Tue Apr 17 2007 Tim Waugh <twaugh at redhat.com> 1.7.2-8
+- Update desktop database on %%postun as well (bug #236163).
+
 * Mon Apr 16 2007 Tim Waugh <twaugh at 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




More information about the fedora-cvs-commits mailing list