diff --git a/cups-browsed.8.patch b/cups-browsed.8.patch new file mode 100644 index 0000000..583c758 --- /dev/null +++ b/cups-browsed.8.patch @@ -0,0 +1,14 @@ +diff -up cups-filters-1.20.0/utils/cups-browsed.8.manpage cups-filters-1.20.0/utils/cups-browsed.8 +--- cups-filters-1.20.0/utils/cups-browsed.8.manpage 2018-11-12 14:14:48.436062013 +0100 ++++ cups-filters-1.20.0/utils/cups-browsed.8 2018-11-12 14:19:10.188091043 +0100 +@@ -100,8 +100,8 @@ and command line tools. + + \fBcups-browsed.conf\fP(5) + .PP +-/usr/share/doc/\fBcups-browsed\fP/README.gz ++/usr/share/doc/cups-filters/README.gz + .SH AUTHOR +-The authors of \fBcups-browsed\fP are listed in /usr/share/doc/\fBcups-browsed\fP/AUTHORS. ++The authors of \fBcups-browsed\fP are listed in /usr/share/doc/cups-filters/AUTHORS. + .PP + This manual page was written for the Debian Project, but it may be used by others. diff --git a/cups-filters.spec b/cups-filters.spec index 4015bef..a8da22a 100644 --- a/cups-filters.spec +++ b/cups-filters.spec @@ -4,7 +4,7 @@ Summary: OpenPrinting CUPS filters and backends Name: cups-filters Version: 1.21.2 -Release: 3%{?dist} +Release: 4%{?dist} # For a breakdown of the licensing, see COPYING file # GPLv2: filters: commandto*, imagetoraster, pdftops, rasterto*, @@ -24,6 +24,11 @@ Patch01: cups-filters-createall.patch # backported patch from upstream - since glibc 2.28 there is a need to clear EOF on # file descriptor when I use dup2 on file descriptor where is EOF Patch02: cups-filters-cleareof.patch +# Links in man page is wrong - it shows 'cups-browsed' in path, but we +# have 'cups-filters' in path, because it is shipped in 'cups-filters' package +# instead of 'cups-browsed' as Ubuntu does. I can repack the project later, +# so cups-browsed would have separate sub package, so the link would be correct +Patch03: cups-browsed.8.patch Requires: cups-filters-libs%{?_isa} = %{version}-%{release} @@ -130,6 +135,8 @@ This is the development package for OpenPrinting CUPS filters and backends. %patch01 -p1 -b .createall # backported from upstream - EOF from pipe needs to cleared %patch02 -p1 -b .cleareof +# links in manpage +%patch03 -p1 -b .manpage %build # work-around Rpath @@ -302,6 +309,9 @@ fi %{_libdir}/libfontembed.so %changelog +* Mon Nov 12 2018 Zdenek Dohnal - 1.21.2-4 +- links in manpages are wrong + * Mon Sep 24 2018 Zdenek Dohnal - 1.21.2-3 - 1632267 - cups-filters needs to obsolete ghostscript-cups and foomatic-filters - rebuilt for qpdf-8.2.1