From 7d33d3ab0b6d46326bdb7f79440ade7794c22d3d Mon Sep 17 00:00:00 2001 From: Tomas Korbar Date: Wed, 26 Sep 2018 14:38:39 +0200 Subject: [PATCH] Add more information to patches --- hplip.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hplip.spec b/hplip.spec index 3966512..2c8bb05 100644 --- a/hplip.spec +++ b/hplip.spec @@ -255,9 +255,14 @@ rm prnt/hpcups/ErnieFilter.{cpp,h} prnt/hpijs/ernieplatform.h %patch32 -p1 -b .colorlaserjet-mfp-m278-m281 # TypeError: 'Error' object does not support indexing (bug #1564770) +# upstream bug: https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1718129 +# in python2 it was possible to acces Exception message by index [0]. +# in python3 this is no longer possible and it causes TypeError. %patch33 -p1 -b .error-print-fix # TypeError: not all arguments converted during string formatting (bug #1566938) +# upstream bug: https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/616450 +# bug caused by more arguments than argument specifiers in formatted string %patch34 -p1 -b .hpfax-import-error-print sed -i.duplex-constraints \