diff --git a/.cups-filters.metadata b/.cups-filters.metadata index be64a12..e313285 100644 --- a/.cups-filters.metadata +++ b/.cups-filters.metadata @@ -1 +1,2 @@ f574678c1436d91216858edc9d2baea03579e998 SOURCES/cups-filters-1.20.0.tar.xz +ded8efb5069586c51079608354159d6c3805e877 SOURCES/testprint diff --git a/.gitignore b/.gitignore index 1746351..1103132 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ SOURCES/cups-filters-1.20.0.tar.xz +SOURCES/testprint diff --git a/SPECS/cups-filters.spec b/SPECS/cups-filters.spec index 2bfcc00..82ebf15 100644 --- a/SPECS/cups-filters.spec +++ b/SPECS/cups-filters.spec @@ -4,7 +4,7 @@ Summary: OpenPrinting CUPS filters and backends Name: cups-filters Version: 1.20.0 -Release: 27%{?dist} +Release: 28%{?dist} # For a breakdown of the licensing, see COPYING file # GPLv2: filters: commandto*, imagetoraster, pdftops, rasterto*, @@ -19,6 +19,7 @@ License: GPLv2 and GPLv2+ and GPLv3 and GPLv3+ and LGPLv2+ and MIT and BSD with Url: http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters Source0: http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.xz +Source1: testprint Patch01: cups-filters-createall.patch Patch02: cups-filters-brftopagedbrf-install.patch @@ -260,6 +261,10 @@ sed -i '/urftopdf/d' %{buildroot}%{_datadir}/cups/mime/cupsfilters.convs rm -f %{buildroot}%{_cups_serverbin}/filter/pdftoopvp rm -f %{buildroot}%{_sysconfdir}/fonts/conf.d/99pdftoopvp.conf +# use pregenerated PDF for test page to workaround the broken bannertopdf filter +# for printers requesting PDF document format (bz#2064606) +install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/cups/data/testprint + %check make check @@ -346,6 +351,9 @@ make check %{_libdir}/libfontembed.so %changelog +* Thu Jun 16 2022 Zdenek Dohnal - 1.20.0-28 +- 2064606 - [RHEL8.5] Test page is not working if the destination document format is PDF + * Tue Jul 13 2021 Zdenek Dohnal - 1.20.0-27 - 1981612 - [RHEL 8] pdftopdf doesn't handle "page-range=10-2147483647" correctly