diff --git a/system-config-printer-missing-import.patch b/system-config-printer-missing-import.patch new file mode 100644 index 0000000..03ca31a --- /dev/null +++ b/system-config-printer-missing-import.patch @@ -0,0 +1,11 @@ +diff -up system-config-printer-1.1.13/probe_printer.py.missing-import system-config-printer-1.1.13/probe_printer.py +--- system-config-printer-1.1.13/probe_printer.py.missing-import 2009-09-01 12:08:33.000000000 +0100 ++++ system-config-printer-1.1.13/probe_printer.py 2009-09-22 10:33:18.358546374 +0100 +@@ -20,6 +20,7 @@ + + import cupshelpers + from debug import * ++import errno + import socket, time + import gtk + from timedops import TimedOperation diff --git a/system-config-printer.spec b/system-config-printer.spec index efa65d2..004a39b 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -20,6 +20,7 @@ Patch2: system-config-printer-cancel-traceback.patch Patch3: system-config-printer-publish-printers.patch Patch4: system-config-printer-iconify.patch Patch5: system-config-printer-fetchdevices.patch +Patch6: system-config-printer-missing-import.patch BuildRequires: cups-devel >= 1.2 BuildRequires: python-devel >= 2.4 @@ -85,6 +86,7 @@ printers. %patch3 -p1 -b .publish-printers %patch4 -p1 -b .iconify %patch5 -p1 -b .fetchdevices +%patch6 -p1 -b .missing-import %build %configure --with-udev-rules --with-polkit-1 @@ -197,6 +199,7 @@ exit 0 %changelog * Tue Sep 22 2009 Tim Waugh 1.1.13-3 +- Fixed missing import in probe_printer module. - Fixed race when fetching device list (bug #521110). * Fri Sep 18 2009 Tim Waugh 1.1.13-2