[qpdf] fix 'complete manual location' note in man pages (#966534)
Jiří Popelka
jpopelka at fedoraproject.org
Thu May 23 16:17:08 UTC 2013
commit e5a6d28d0e3c81e1634861c588cfa47f05ec07c5
Author: Jiri Popelka <jpopelka at redhat.com>
Date: Thu May 23 18:07:36 2013 +0200
fix 'complete manual location' note in man pages (#966534)
qpdf-doc.patch | 30 ++++++++++++++++++++++++++++++
qpdf.spec | 10 +++++++++-
2 files changed, 39 insertions(+), 1 deletions(-)
---
diff --git a/qpdf-doc.patch b/qpdf-doc.patch
new file mode 100644
index 0000000..732f8f3
--- /dev/null
+++ b/qpdf-doc.patch
@@ -0,0 +1,30 @@
+diff -up qpdf-4.1.0/manual/fix-qdf.1.in.doc qpdf-4.1.0/manual/fix-qdf.1.in
+--- qpdf-4.1.0/manual/fix-qdf.1.in.doc 2013-04-14 21:03:51.000000000 +0200
++++ qpdf-4.1.0/manual/fix-qdf.1.in 2013-05-23 18:12:21.506581935 +0200
+@@ -14,5 +14,4 @@ the same file with stream lengths, cross
+ object stream offset tables regenerated.
+ .PP
+ For details about fix-qdf and about PDF files in QDF mode, please see
+-the qpdf manual, which can be found in @docdir@/qpdf-manual.html or
+- at docdir@/qpdf-manual.pdf.
++the qpdf manual, which can be found in qpdf-doc package.
+diff -up qpdf-4.1.0/manual/qpdf.1.in.doc qpdf-4.1.0/manual/qpdf.1.in
+--- qpdf-4.1.0/manual/qpdf.1.in.doc 2013-04-14 21:03:51.000000000 +0200
++++ qpdf-4.1.0/manual/qpdf.1.in 2013-05-23 18:12:13.723690019 +0200
+@@ -16,4 +16,4 @@ useful primarily to PDF developers.
+ .PP
+ For a summary of qpdf's options, please run
+ \fBqpdf --help\fR. A complete manual can be found in
+- at docdir@/qpdf-manual.html or @docdir@/qpdf-manual.pdf.
++qpdf-doc package.
+diff -up qpdf-4.1.0/manual/zlib-flate.1.in.doc qpdf-4.1.0/manual/zlib-flate.1.in
+--- qpdf-4.1.0/manual/zlib-flate.1.in.doc 2013-04-14 21:03:51.000000000 +0200
++++ qpdf-4.1.0/manual/zlib-flate.1.in 2013-05-23 18:12:07.571775453 +0200
+@@ -21,6 +21,6 @@ This program should not be used as a gen
+ tool. Use something like gzip(1) instead.
+ .PP
+ For details about qpdf, please see the qpdf manual, which can be found
+-in @docdir@/qpdf-manual.html or @docdir@/qpdf-manual.pdf.
++in qpdf-doc package.
+ .SH "SEE ALSO"
+ qpdf(1), gzip(1)
diff --git a/qpdf.spec b/qpdf.spec
index 98846c6..2fc5634 100644
--- a/qpdf.spec
+++ b/qpdf.spec
@@ -1,13 +1,15 @@
Summary: Command-line tools and library for transforming PDF files
Name: qpdf
Version: 4.1.0
-Release: 2%{?dist}
+Release: 3%{?dist}
# MIT: e.g. libqpdf/sha2.c
License: Artistic 2.0 and MIT
Group: System Environment/Base
URL: http://qpdf.sourceforge.net/
Source0: http://downloads.sourceforge.net/sourceforge/qpdf/qpdf-%{version}.tar.gz
+Patch0: qpdf-doc.patch
+
BuildRequires: zlib-devel
BuildRequires: pcre-devel
@@ -59,6 +61,9 @@ QPDF Manual
%prep
%setup -q
+# fix 'complete manual location' note in man pages
+%patch0 -p1 -b .doc
+
%build
# work-around check-rpaths errors
autoreconf --verbose --force --install
@@ -105,6 +110,9 @@ make check
%doc __doc/*
%changelog
+* Thu May 23 2013 Jiri Popelka <jpopelka at redhat.com> - 4.1.0-3
+- fix 'complete manual location' note in man pages (#966534)
+
* Tue May 07 2013 Jiri Popelka <jpopelka at redhat.com> - 4.1.0-2
- some source files are under MIT license
More information about the scm-commits
mailing list