From 22310c37d75b33a655eb8ccd7e977d62576575b27e57b8018344cf71fbd0be83 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Fri, 6 Jul 2018 17:59:11 +0000 Subject: [PATCH] - Add back update-desktop-files OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=13 --- strawberry.changes | 5 +++++ strawberry.spec | 7 ++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/strawberry.changes b/strawberry.changes index 80c0da3..1948929 100644 --- a/strawberry.changes +++ b/strawberry.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 6 17:58:56 UTC 2018 - jonas@jkvinge.net + +- Add back update-desktop-files + ------------------------------------------------------------------- Fri Jul 6 17:32:28 UTC 2018 - jonas@jkvinge.net diff --git a/strawberry.spec b/strawberry.spec index 14072f3..ef3c326 100644 --- a/strawberry.spec +++ b/strawberry.spec @@ -66,6 +66,7 @@ BuildRequires: pkgconfig(sqlite3) >= 3.7 BuildRequires: pkgconfig(taglib) >= 1.11 BuildRequires: pkgconfig(libxine) BuildRequires: pkgconfig(libvlc) +BuildRequires: update-desktop-files %if 0%{?suse_version} < 1500 Requires(post): update-desktop-files Requires(post): gtk3-tools @@ -99,18 +100,14 @@ make %{?_smp_mflags} %install %cmake_install -%if 0%{?suse_version} < 1500 %suse_update_desktop_file strawberry Qt AudioVideo Audio Player -%endif -%post %if 0%{?suse_version} < 1500 +%post %desktop_database_post %icon_theme_cache_post -%endif %postun -%if 0%{?suse_version} < 1500 %desktop_database_postun %icon_theme_cache_postun %endif