upstream 1413 - Propagation of location doesn't work

This commit is contained in:
Zdenek Dohnal 2017-10-06 13:49:46 +02:00
parent 69620785b0
commit 9a46303505
2 changed files with 18 additions and 1 deletions

View File

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

View File

@ -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 <zdohnal@redhat.com> - 1.16.1-2
- upstream 1413 - Propagation of location doesn't work
* Mon Aug 14 2017 Zdenek Dohnal <zdohnal@redhat.com> - 1.16.1-1
- rebase to 1.16.1