diff --git a/cups-str2323.patch b/cups-str2323.patch new file mode 100644 index 0000000..e411b61 --- /dev/null +++ b/cups-str2323.patch @@ -0,0 +1,10 @@ +--- cups-1.2.10/scheduler/job.c.printer-state-reasons 2007-04-02 13:42:22.000000000 +0100 ++++ cups-1.2.10/scheduler/job.c 2007-04-02 13:42:35.000000000 +0100 +@@ -215,7 +215,6 @@ + + printer->state_message[0] = '\0'; + +- cupsdSetPrinterReasons(printer, ""); + cupsdSetPrinterState(printer, IPP_PRINTER_IDLE, 0); + + cupsdAddEvent(CUPSD_EVENT_JOB_COMPLETED, printer, job, diff --git a/cups.spec b/cups.spec index 5144097..e2cd220 100644 --- a/cups.spec +++ b/cups.spec @@ -6,7 +6,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.2.10 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL Group: System Environment/Daemons Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2 @@ -44,6 +44,7 @@ Patch19: cups-eggcups.patch Patch20: cups-getpass.patch Patch21: cups-driverd-timeout.patch Patch22: cups-af_unix-auth.patch +Patch23: cups-str2323.patch Patch100: cups-lspp.patch Epoch: 1 Url: http://www.cups.org/ @@ -150,6 +151,7 @@ lpd emulation. %patch20 -p1 -b .getpass %patch21 -p1 -b .driverd-timeout %patch22 -p1 -b .af_unix-auth +%patch23 -p1 -b .str2323 %if %lspp %patch100 -p1 -b .lspp @@ -436,6 +438,9 @@ rm -rf $RPM_BUILD_ROOT %{cups_serverbin}/daemon/cups-lpd %changelog +* Mon Apr 2 2007 Tim Waugh 1:1.2.10-3 +- Don't clear printer-state-reasons after job completion (STR #2323). + * Thu Mar 29 2007 Tim Waugh - Small improvement for AF_UNIX auth patch.