From 3bb92bd787be3b2bbbe43b62909563ee14124993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 30 Jun 2014 14:10:52 +0200 Subject: [PATCH] Avoid "iCCP: Not recognized known sRGB profile that has been edited" warning --- slic3r.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/slic3r.spec b/slic3r.spec index de0d639..ab40abe 100644 --- a/slic3r.spec +++ b/slic3r.spec @@ -118,6 +118,11 @@ cp %{name}-4.png 16x16/apps/%{name}.png rm %{name}-*.png cd - +# To avoid "iCCP: Not recognized known sRGB profile that has been edited" +cd var +find . -type f -name "*.png" -exec convert {} -strip {} \; +cd - + %install cd xs ./Build install destdir=%{buildroot} create_packlist=0