From 0b47c6dc791ab51c936fd147b669e35805672ea0c5ca8c336b4ef1232d8d3077 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 14 Jan 2011 00:24:54 +0000 Subject: [PATCH 1/2] Updating link to change in openSUSE:Factory/desktop-file-utils revision 27.0 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/desktop-file-utils?expand=0&rev=446eaf74c204791b7da157800738c4df --- desktop-file-utils.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-file-utils.spec b/desktop-file-utils.spec index 3d238e6..59a7a04 100644 --- a/desktop-file-utils.spec +++ b/desktop-file-utils.spec @@ -1,7 +1,7 @@ # # spec file for package desktop-file-utils (Version 0.18) # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From 609a5559d783d453bc17783666154198d60aaba4bddd428f03ea2bd4a2b60a70 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 18 Jan 2011 14:12:33 +0000 Subject: [PATCH 2/2] Accepting request 58642 from home:vuntz:branches:X11:common:Factory OBS-URL: https://build.opensuse.org/request/show/58642 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/desktop-file-utils?expand=0&rev=21 --- desktop-file-utils.changes | 6 ++++++ macros.desktop-file-utils | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/desktop-file-utils.changes b/desktop-file-utils.changes index 0250264..a404527 100644 --- a/desktop-file-utils.changes +++ b/desktop-file-utils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 18 08:41:03 CET 2011 - vuntz@opensuse.org + +- Fix %desktop_database_postun macros to not call + update-desktop-database twice. + ------------------------------------------------------------------- Thu Jan 13 11:09:11 CET 2011 - vuntz@opensuse.org diff --git a/macros.desktop-file-utils b/macros.desktop-file-utils index 0adcc73..d4c605c 100644 --- a/macros.desktop-file-utils +++ b/macros.desktop-file-utils @@ -29,7 +29,6 @@ fi %desktop_database_postun() \ if [ $1 -eq 0 ]; then \ if test -x %{_bindir}/update-desktop-database; then \ - %{_bindir}/update-desktop-database --quiet "${DESKTOP_DIR}" || true \ %if "x%1" != "x%%1" \ %{_bindir}/update-desktop-database --quiet "%1" || true \ %else \