rpms/system-config-printer/devel system-config-printer.spec, 1.61, 1.62
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Oct 31 15:01:50 UTC 2006
Author: twaugh
Update of /cvs/dist/rpms/system-config-printer/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv30901
Modified Files:
system-config-printer.spec
Log Message:
* Tue Oct 31 2006 Tim Waugh <twaugh at redhat.com>
- Update desktop database (bug #213249).
- Resolves: rhbz#213249
Index: system-config-printer.spec
===================================================================
RCS file: /cvs/dist/rpms/system-config-printer/devel/system-config-printer.spec,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- system-config-printer.spec 24 Oct 2006 16:23:23 -0000 1.61
+++ system-config-printer.spec 31 Oct 2006 15:01:47 -0000 1.62
@@ -23,6 +23,7 @@
Requires: pygtk2 >= 2.4.0, pygtk2-libglade
Requires: pygobject2
Requires: usermode >= 1.37
+Requires: desktop-file-utils >= 0.2.92
PreReq: system-config-printer-libs = %{version}-%{release}
Obsoletes: system-config-printer-gui <= 0.6.152
@@ -103,9 +104,18 @@
%post
/bin/rm -f /var/cache/foomatic/foomatic.pickle
+/usr/bin/update-desktop-database &>/dev/null ||:
exit 0
+%postun
+if [ "$1" = "0" ]; then
+ /usr/bin/update-desktop-database &>/dev/null ||:
+fi
+
%changelog
+* Tue Oct 31 2006 Tim Waugh <twaugh at redhat.com>
+- Update desktop database (bug #213249).
+
* Tue Oct 24 2006 Tim Waugh <twaugh at redhat.com>
- Build requires Python 2.4.
More information about the fedora-cvs-commits
mailing list