diff --git a/cups-lspp.patch b/cups-lspp.patch index 7fe8c68..a7b1c39 100644 --- a/cups-lspp.patch +++ b/cups-lspp.patch @@ -1156,7 +1156,7 @@ diff -up cups-1.3.7/scheduler/ipp.c.lspp cups-1.3.7/scheduler/ipp.c fchmod(cupsFileNumber(out), 0640); fchown(cupsFileNumber(out), RunUser, Group); +#ifdef WITH_LSPP -+ if (con->scon != NULL && ++ if (con != NULL && con->scon != NULL && + strncmp(con->scon, UNKNOWN_SL, strlen(UNKNOWN_SL)) != 0) + { + if (getfilecon(filename, &spoolcon) == -1) diff --git a/cups.spec b/cups.spec index eaf9ca0..d101778 100644 --- a/cups.spec +++ b/cups.spec @@ -7,7 +7,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.3.7 -Release: 3%{?svn:.svn%{svn}}%{?dist} +Release: 4%{?svn:.svn%{svn}}%{?dist} License: GPLv2 Group: System Environment/Daemons Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}%{?svn:svn-r%{svn}}-source.tar.bz2 @@ -442,6 +442,9 @@ rm -rf $RPM_BUILD_ROOT %{cups_serverbin}/daemon/cups-lpd %changelog +* Thu May 29 2008 Tim Waugh 1:1.3.7-4 +- Fix last fix (bug #447200). + * Wed May 28 2008 Tim Waugh 1:1.3.7-3 - If cupsdTimeoutJob is called when the originating connection is still known, pass that to the function so that copy_banner can get at it if