diff --git a/krdc.changes b/krdc.changes index 3c672e4..c6ac038 100644 --- a/krdc.changes +++ b/krdc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 27 18:48:44 UTC 2016 - fvogt@suse.com + +- Fix copying of icons from oxygen package + ------------------------------------------------------------------- Fri Jun 10 18:04:03 UTC 2016 - tittiatcoke@gmail.com diff --git a/krdc.spec b/krdc.spec index ac7a436..ca4de2b 100644 --- a/krdc.spec +++ b/krdc.spec @@ -72,13 +72,10 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc" for i in 128 16 22 32 48 64 do mkdir -p %{buildroot}%{_kf5_iconsdir}/hicolor/${i}x${i}/apps + cp %{_kf5_iconsdir}/oxygen/${i}x${i}/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/${i}x${i}/apps/ \ + || cp %{_kf5_iconsdir}/oxygen/base/${i}x${i}/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/${i}x${i}/apps/ done - cp %{_kf5_iconsdir}/oxygen/128x128/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/128x128/apps/ - cp %{_kf5_iconsdir}/oxygen/16x16/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/16x16/apps/ - cp %{_kf5_iconsdir}/oxygen/22x22/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/22x22/apps/ - cp %{_kf5_iconsdir}/oxygen/32x32/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/32x32/apps/ - cp %{_kf5_iconsdir}/oxygen/48x48/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/48x48/apps/ - cp %{_kf5_iconsdir}/oxygen/64x64/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/64x64/apps/ + %suse_update_desktop_file -r org.kde.krdc System RemoteAccess %post -p /sbin/ldconfig