From 9a46303505cb86431e41278feaae7240eb445154 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Oct 06 2017 11:49:46 +0000 Subject: upstream 1413 - Propagation of location doesn't work --- diff --git a/cups-filters-location.patch b/cups-filters-location.patch new file mode 100644 index 0000000..d4accb0 --- /dev/null +++ b/cups-filters-location.patch @@ -0,0 +1,12 @@ +diff -up cups-filters-1.16.1/utils/cups-browsed.c.location cups-filters-1.16.1/utils/cups-browsed.c +--- cups-filters-1.16.1/utils/cups-browsed.c.location 2017-10-06 13:35:52.733437212 +0200 ++++ cups-filters-1.16.1/utils/cups-browsed.c 2017-10-06 13:38:11.053339580 +0200 +@@ -6360,7 +6360,7 @@ static void + browse_poll_get_printers (browsepoll_t *context, http_t *conn) + { + static const char * const rattrs[] = { "printer-uri-supported", +- "printer-info"}; ++ "printer-location", "printer-info"}; + ipp_t *request, *response = NULL; + ipp_attribute_t *attr; + GList *printers = NULL; diff --git a/cups-filters.spec b/cups-filters.spec index 9c59028..23b0b21 100644 --- a/cups-filters.spec +++ b/cups-filters.spec @@ -4,7 +4,7 @@ Summary: OpenPrinting CUPS filters and backends Name: cups-filters Version: 1.16.1 -Release: 1%{?dist} +Release: 2%{?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 Url: http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters Source0: http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.xz +Patch01: cups-filters-location.patch Requires: cups-filters-libs%{?_isa} = %{version}-%{release} @@ -113,6 +114,7 @@ This is the development package for OpenPrinting CUPS filters and backends. %prep %setup -q +%patch01 -p1 -b .location %build # work-around Rpath @@ -270,6 +272,9 @@ fi %{_libdir}/libfontembed.so %changelog +* Fri Oct 06 2017 Zdenek Dohnal - 1.16.1-2 +- upstream 1413 - Propagation of location doesn't work + * Mon Aug 14 2017 Zdenek Dohnal - 1.16.1-1 - rebase to 1.16.1