1
0

Accepting request 50367 from X11:common:Factory

Copy from X11:common:Factory/desktop-file-utils based on submit request 50367 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/50367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/desktop-file-utils?expand=0&rev=25
This commit is contained in:
OBS User autobuild 2010-10-14 10:13:53 +00:00 committed by Git OBS Bridge
commit 937b5d6080
3 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 12 12:19:16 UTC 2010 - lnussel@suse.de
- fix macros
-------------------------------------------------------------------
Thu Oct 7 14:11:12 CEST 2010 - vuntz@opensuse.org

View File

@ -19,7 +19,7 @@
Name: desktop-file-utils
Version: 0.17
Release: 2
Release: 3
License: GPLv2+
Summary: Utilities for Manipulating Desktop Files
Url: http://www.freedesktop.org/wiki/Software/desktop-file-utils

View File

@ -19,9 +19,9 @@
if test -x %{_bindir}/update-desktop-database; then \
%if "x%1" != "x%%1" \
%{_bindir}/update-desktop-database --quiet "%1" || true \
%endif \
%{_bindir}/update-desktop-database --quiet "%{_datadir}/applications" || true \
%else \
%{_bindir}/update-desktop-database --quiet "%{_datadir}/applications" || true \
%endif \
fi
# On uninstall, update the desktop database. Note: we ignore upgrades (already
@ -32,8 +32,8 @@ if [ $1 -eq 0 ]; then
%{_bindir}/update-desktop-database --quiet "${DESKTOP_DIR}" || true \
%if "x%1" != "x%%1" \
%{_bindir}/update-desktop-database --quiet "%1" || true \
%endif \
%{_bindir}/update-desktop-database --quiet "%{_datadir}/applications" || true \
%else \
%{_bindir}/update-desktop-database --quiet "%{_datadir}/applications" || true \
%endif \
fi \
fi