Fabian Vogt 2017-04-08 14:19:18 +00:00 committed by Git OBS Bridge
parent 306c320f3e
commit b1f89a6b46

View File

@ -59,7 +59,7 @@ want to quickly see problems occurring on their server.
%suse_update_desktop_file org.kde.ksystemlog System Monitor %suse_update_desktop_file org.kde.ksystemlog System Monitor
for i in {16,22,32,48,64,128}; do for i in {16,22,32,48,64,128}; do
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/"$i"x"$i"/apps mkdir -p %{buildroot}%{_datadir}/icons/hicolor/"$i"x"$i"/apps
%if 0%{?suse_version} > 1320 || 0%{?sle_version} == 120200 %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
cp %{_datadir}/icons/oxygen/base/"$i"x"$i"/apps/utilities-log-viewer.png %{buildroot}%{_datadir}/icons/hicolor/"$i"x"$i"/apps/; cp %{_datadir}/icons/oxygen/base/"$i"x"$i"/apps/utilities-log-viewer.png %{buildroot}%{_datadir}/icons/hicolor/"$i"x"$i"/apps/;
%else %else
cp %{_datadir}/icons/oxygen/"$i"x"$i"/apps/utilities-log-viewer.png %{buildroot}%{_datadir}/icons/hicolor/"$i"x"$i"/apps/; cp %{_datadir}/icons/oxygen/"$i"x"$i"/apps/utilities-log-viewer.png %{buildroot}%{_datadir}/icons/hicolor/"$i"x"$i"/apps/;