Accepting request 209136 from home:pgajdos

- png_fix macro doesn't leave *.png.fixed (which happened for correct
  PNGs) [bnc#852862]

OBS-URL: https://build.opensuse.org/request/show/209136
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=47
This commit is contained in:
Petr Gajdos 2013-12-02 10:30:13 +00:00 committed by Git OBS Bridge
parent 1b7e4e9fb9
commit e8380fa090
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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