- Add back update-desktop-files

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=13
This commit is contained in:
Jonas Kvinge 2018-07-06 17:59:11 +00:00 committed by Git OBS Bridge
parent 6a5cf97317
commit 22310c37d7
2 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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