Accepting request 720078 from home:sbrabec:branches:X11:common:Factory

- Remove BuildRequires: xz. Unpacking xz now works out of the box.
- Mute %filetriggerpostun on uninstall.

OBS-URL: https://build.opensuse.org/request/show/720078
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/desktop-file-utils?expand=0&rev=72
This commit is contained in:
Dirk Mueller 2019-08-08 16:36:17 +00:00 committed by Git OBS Bridge
parent 31f3369ee3
commit 2a7df5704a
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 31 16:41:20 CEST 2019 - sbrabec@suse.com
- Remove BuildRequires: xz. Unpacking xz now works out of the box.
- Mute %filetriggerpostun on uninstall.
-------------------------------------------------------------------
Fri Jul 19 22:06:36 CEST 2019 - sbrabec@suse.com

View File

@ -32,8 +32,10 @@ Patch0: desktop-file-utils-suse-keys.patch
Patch1: desktop-file-utils-add-Pantheon.patch
BuildRequires: glib2-devel
BuildRequires: pkg-config
BuildRequires: xz
#!BuildIgnore: dbus-1-x11
# We need explicit requirement here, as these are required by
# %%filetriggerin that could be started early during the installation
# process.
Requires: aaa_base
Requires: awk
Requires: coreutils
@ -75,8 +77,10 @@ touch %{buildroot}%{_datadir}/applications/mimeinfo.cache
%{_bindir}/suse-update-mime-defaults || true
%filetriggerpostun -- %{_datadir}/applications
%{_bindir}/update-desktop-database --quiet %{_datadir}/applications || true
%{_bindir}/suse-update-mime-defaults || true
if test -f %{_bindir}/update-desktop-database ; then
%{_bindir}/update-desktop-database --quiet %{_datadir}/applications || true
%{_bindir}/suse-update-mime-defaults || true
fi
%files
%defattr(-, root, root)