diff --git a/system-config-printer-typo.patch b/system-config-printer-typo.patch new file mode 100644 index 0000000..aedf8b2 --- /dev/null +++ b/system-config-printer-typo.patch @@ -0,0 +1,12 @@ +diff -up system-config-printer-1.4.1/asyncipp.py.typo system-config-printer-1.4.1/asyncipp.py +--- system-config-printer-1.4.1/asyncipp.py.typo 2013-05-09 12:10:43.000000000 +0100 ++++ system-config-printer-1.4.1/asyncipp.py 2013-05-21 17:22:48.691678684 +0100 +@@ -354,7 +354,7 @@ class _IPPAuthOperation: + self._reconnect = False + self._reconnected = True + debugprint ("%s (_error_handler): reconnecting (as %s)..." % +- (self, self_user)) ++ (self, self._user)) + conn.reconnect (self._user, + reply_handler=self._reconnect_reply, + error_handler=self._reconnect_error) diff --git a/system-config-printer.spec b/system-config-printer.spec index 4935ace..089c1e4 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -11,6 +11,7 @@ Patch2: system-config-printer-utf8-961882.patch Patch3: system-config-printer-utf8-962207.patch Patch4: system-config-printer-utf8-964673.patch Patch5: system-config-printer-utf8-965578.patch +Patch6: system-config-printer-typo.patch BuildRequires: cups-devel >= 1.2 BuildRequires: desktop-file-utils >= 0.2.92 @@ -79,6 +80,9 @@ printers. %patch4 -p1 -b .utf8-964673 %patch5 -p1 -b .utf8-965578 +# Fixed typo which could cause a traceback (bug #965678). +%patch6 -p1 -b .typo + %build %configure --with-udev-rules @@ -179,6 +183,7 @@ exit 0 %changelog * Tue May 21 2013 Tim Waugh 1.4.1-2 +- Fixed typo which could cause a traceback (bug #965678). - Fixes for UTF-8 encoding issues (bug #957444, bug #961882, bug #962207, bug #964673, bug #965578).