- Don't clear printer-state-reasons after job completion (STR #2323).

This commit is contained in:
Tim Waugh 2007-04-02 13:29:08 +00:00
parent ce77444020
commit adb12ec772
2 changed files with 16 additions and 1 deletions

10
cups-str2323.patch Normal file
View File

@ -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,

View File

@ -6,7 +6,7 @@
Summary: Common Unix Printing System Summary: Common Unix Printing System
Name: cups Name: cups
Version: 1.2.10 Version: 1.2.10
Release: 2%{?dist} Release: 3%{?dist}
License: GPL License: GPL
Group: System Environment/Daemons Group: System Environment/Daemons
Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2 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 Patch20: cups-getpass.patch
Patch21: cups-driverd-timeout.patch Patch21: cups-driverd-timeout.patch
Patch22: cups-af_unix-auth.patch Patch22: cups-af_unix-auth.patch
Patch23: cups-str2323.patch
Patch100: cups-lspp.patch Patch100: cups-lspp.patch
Epoch: 1 Epoch: 1
Url: http://www.cups.org/ Url: http://www.cups.org/
@ -150,6 +151,7 @@ lpd emulation.
%patch20 -p1 -b .getpass %patch20 -p1 -b .getpass
%patch21 -p1 -b .driverd-timeout %patch21 -p1 -b .driverd-timeout
%patch22 -p1 -b .af_unix-auth %patch22 -p1 -b .af_unix-auth
%patch23 -p1 -b .str2323
%if %lspp %if %lspp
%patch100 -p1 -b .lspp %patch100 -p1 -b .lspp
@ -436,6 +438,9 @@ rm -rf $RPM_BUILD_ROOT
%{cups_serverbin}/daemon/cups-lpd %{cups_serverbin}/daemon/cups-lpd
%changelog %changelog
* Mon Apr 2 2007 Tim Waugh <twaugh@redhat.com> 1:1.2.10-3
- Don't clear printer-state-reasons after job completion (STR #2323).
* Thu Mar 29 2007 Tim Waugh <twaugh@redhat.com> * Thu Mar 29 2007 Tim Waugh <twaugh@redhat.com>
- Small improvement for AF_UNIX auth patch. - Small improvement for AF_UNIX auth patch.