Hello community, here is the log from the commit of package kurso-de-esperanto for openSUSE:Factory checked in at 2019-01-08 12:29:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kurso-de-esperanto (Old) and /work/SRC/openSUSE:Factory/.kurso-de-esperanto.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kurso-de-esperanto" Tue Jan 8 12:29:58 2019 rev:4 rq:663468 version:4.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/kurso-de-esperanto/kurso-de-esperanto.changes 2018-12-31 09:47:48.434146758 +0100 +++ /work/SRC/openSUSE:Factory/.kurso-de-esperanto.new.28833/kurso-de-esperanto.changes 2019-01-08 12:31:46.200057050 +0100 @@ -1,0 +2,6 @@ +Mon Jan 7 22:05:42 UTC 2019 - Jan Engelhardt <[email protected]> + +- Use a single %setup call and replace a useless-use-of-cat case + ("ls | ..."). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kurso-de-esperanto.spec ++++++ --- /var/tmp/diff_new_pack.AZZai7/_old 2019-01-08 12:31:47.124056046 +0100 +++ /var/tmp/diff_new_pack.AZZai7/_new 2019-01-08 12:31:47.124056046 +0100 @@ -1,7 +1,7 @@ # # spec file for package kurso-de-esperanto # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -51,8 +51,7 @@ * A wide variety of exercises, to reinforce the learning points. %prep -%setup -q -n %{_name}%{_version} -%setup -q -T -D -a 1 -n %{_name}%{_version} +%setup -qn %{_name}%{_version} -a1 %patch0 -p1 tail -n +2 kurso.cpp | head -n 16 > COPYRIGHT # Use the data directory for media stuff. @@ -75,7 +74,7 @@ install -Dpm 0644 br.com.kurso.%{_name}.appdata.xml %{buildroot}%{_datadir}/metainfo/br.com.kurso.%{_name}.appdata.xml convert -strip ico:%{_name}%{_version}.ico png:%{name}-icon.png -ls %{name}-icon*.png | while read -r i; do +for i in %{name}-icon*.png; do size=$(identify -ping -format '%%[w]x%%[h]\n' "$i") mkdir -p "%{buildroot}%{_datadir}/icons/hicolor/$size/apps/" mv "$i" "%{buildroot}%{_datadir}/icons/hicolor/$size/apps/%{name}.png"
