diff --git a/libpng16.changes b/libpng16.changes index b55b117..b33829d 100644 --- a/libpng16.changes +++ b/libpng16.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 2 09:35:17 UTC 2013 - pgajdos@suse.com + +- png_fix macro doesn't leave *.png.fixed (which happened for correct + PNGs) [bnc#852862] + ------------------------------------------------------------------- Fri Nov 15 07:56:22 UTC 2013 - pgajdos@suse.com diff --git a/rpm-macros.libpng-tools b/rpm-macros.libpng-tools index 65c1c46..fc316a6 100644 --- a/rpm-macros.libpng-tools +++ b/rpm-macros.libpng-tools @@ -12,7 +12,8 @@ echo "Missing argument in call to %%png_fix: path and name of png file." \ exit 1 \ fi \ - /usr/bin/pngfix %{-q: -qq} --suffix='.fixed' "%1" || mv "%1.fixed" "%1" \ + /usr/bin/pngfix %{-q: -qq} --suffix='.fixed' "%1" || true \ + mv "%1.fixed" "%1" \ %nil # # macro: %png_fix_dir