From d1c0855a4cc4540cf772d5e251f3cca677002626bd2d328dbd365dc2c619ab31 Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Tue, 5 Apr 2016 16:33:51 +0000 Subject: [PATCH] Accepting request 384525 from home:dimstar:Factory - Ensure the icons in hicolor are the REAL files: fdupes links them the 'wrong way around' for xdg-app and appstream-builder. OBS-URL: https://build.opensuse.org/request/show/384525 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/buzztrax?expand=0&rev=23 --- buzztrax.changes | 6 ++++++ buzztrax.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/buzztrax.changes b/buzztrax.changes index c6b6b90..5aaa30f 100644 --- a/buzztrax.changes +++ b/buzztrax.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 5 13:25:16 UTC 2016 - dimstar@opensuse.org + +- Ensure the icons in hicolor are the REAL files: fdupes links them + the 'wrong way around' for xdg-app and appstream-builder. + ------------------------------------------------------------------- Tue Mar 1 05:54:19 UTC 2016 - davejplater@gmail.com diff --git a/buzztrax.spec b/buzztrax.spec index e06d75c..3c266ea 100644 --- a/buzztrax.spec +++ b/buzztrax.spec @@ -226,6 +226,10 @@ echo %{buildroot} %find_lang %{name}-%{version} mv %{buildroot}%{_datadir}/applications/buzztrax-edit.desktop %{buildroot}%{_datadir}/applications/buzztrax.desktop #%%find_gconf_schemas +# ensure the icons in hicolor are the REAL files. fdupes links them the 'wrong way around' for xdg-app and appstream-builder +for icon in 48x48/apps/buzztrax.png scalable/apps/buzztrax.svg; do + ln -sf %{_datadir}/icons/hicolor/${icon} %{buildroot}%{_datadir}/icons/gnome/${icon} +done %fdupes -s %{buildroot} printf 'libbuzztrax-ic%{ic_soname}\n libbuzztrax-core%{core_soname}\n