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