From beafff7c6d8c4b08970066d16286ba1cd59a34e8b0ccaf1818e62b0fb119d349 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Mon, 27 Jun 2016 18:50:46 +0000 Subject: [PATCH] Accepting request 405060 from home:favogt:branches:KDE:Applications Fix copying of icons from oxygen package OBS-URL: https://build.opensuse.org/request/show/405060 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/krdc?expand=0&rev=32 --- krdc.changes | 5 +++++ krdc.spec | 9 +++------ 2 files changed, 8 insertions(+), 6 deletions(-) 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