diff --git a/cups-manual-copies.patch b/cups-manual-copies.patch new file mode 100644 index 0000000..5d9c1af --- /dev/null +++ b/cups-manual-copies.patch @@ -0,0 +1,13 @@ +diff --git a/cups/ppd-cache.c b/cups/ppd-cache.c +index 94a125a..79aab32 100644 +--- a/cups/ppd-cache.c ++++ b/cups/ppd-cache.c +@@ -3228,7 +3228,7 @@ _ppdCreateFromIPP(char *buffer, /* I - Filename buffer */ + cupsFilePuts(fp, "*cupsFilter2: \"application/vnd.cups-pdf application/pdf 10 -\"\n"); + } + else +- cupsFilePuts(fp, "*cupsManualCopies: true\n"); ++ cupsFilePuts(fp, "*cupsManualCopies: True\n"); + if (is_apple) + cupsFilePuts(fp, "*cupsFilter2: \"image/urf image/urf 100 -\"\n"); + if (is_pwg) diff --git a/cups.spec b/cups.spec index 408ec3a..3bdb504 100644 --- a/cups.spec +++ b/cups.spec @@ -15,7 +15,7 @@ Summary: CUPS printing system Name: cups Epoch: 1 Version: 2.3.3 -Release: 7%{?dist} +Release: 8%{?dist} License: ASL 2.0 with exceptions for GPL2/LGPL2 Url: http://www.cups.org/ Source0: https://github.com/apple/cups/releases/download/v%{VERSION}/cups-%{VERSION}-source.tar.gz @@ -109,6 +109,10 @@ Patch27: cups-webui-uri.patch # ipptool doesn't support mdns uris # https://github.com/apple/cups/pull/5793 Patch28: cups-ipptool-mdns-uri.patch +# ppd generator creates invalid cupsManualCopies entry, causing +# printing only one copy everytime +# https://github.com/apple/cups/pull/5807 +Patch29: cups-manual-copies.patch # selinux and audit enablement for CUPS - needs work and CUPS upstream wants # to have these features implemented their way in the future @@ -326,6 +330,7 @@ to CUPS daemon. This solution will substitute printer drivers and raw queues in %patch26 -p1 -b .etimedout %patch27 -p1 -b .webui-uri %patch28 -p1 -b .ipptool-mdns-uri +%patch29 -p1 -b .manual-copies #### UPSTREAMED PATCHES #### @@ -750,6 +755,9 @@ rm -f %{cups_serverbin}/backend/smb %{_mandir}/man7/ippevepcl.7.gz %changelog +* Mon Jul 20 2020 Zdenek Dohnal - 1:2.3.3-8 +- 1848575 - [cups, cups-filters] PPD generators creates invalid cupsManualCopies entry + * Fri Jul 17 2020 Zdenek Dohnal - 1:2.3.3-7 - spec cleanup