From 6b2674ed04216527c772752614f78399230d4a87 Mon Sep 17 00:00:00 2001 From: Ondrej Vasik Date: Thu, 22 Nov 2007 15:09:12 +0000 Subject: [PATCH] fix of w3m params while converting to txt --- docbook-utils-w3mtxtconvert.patch | 12 ++++++++++++ docbook-utils.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 docbook-utils-w3mtxtconvert.patch diff --git a/docbook-utils-w3mtxtconvert.patch b/docbook-utils-w3mtxtconvert.patch new file mode 100644 index 0000000..249af8e --- /dev/null +++ b/docbook-utils-w3mtxtconvert.patch @@ -0,0 +1,12 @@ +diff -urNp original/txt new/txt +--- original/backends/txt 2007-11-05 18:44:52.000000000 +0100 ++++ new/backends/txt 2007-11-22 15:21:36.000000000 +0100 +@@ -13,7 +13,7 @@ then + elif [ -x /usr/bin/w3m ] + then + CONVERT=/usr/bin/w3m +- ARGS="-dump" ++ ARGS="-T text/html -dump" + else + echo >&2 "No way to convert HTML to text found." + exit 1 diff --git a/docbook-utils.spec b/docbook-utils.spec index 4a0b23b..55df16f 100644 --- a/docbook-utils.spec +++ b/docbook-utils.spec @@ -1,6 +1,6 @@ Name: docbook-utils Version: 0.6.14 -Release: 12%{?dist} +Release: 13%{?dist} Group: Applications/Text Summary: Shell scripts for managing DocBook documents @@ -28,6 +28,7 @@ Provides: stylesheets = %{version}-%{release} Patch0: docbook-utils-spaces.patch Patch1: docbook-utils-funcsynopsis.patch Patch2: docbook-utils-2ndspaces.patch +Patch3: docbook-utils-w3mtxtconvert.patch %description This package contains scripts are for easy conversion from DocBook @@ -54,6 +55,7 @@ PDF format. %patch0 -p1 -b .spaces %patch1 -p1 -b .0 %patch2 -p1 -b .2ndspaces +%patch3 -p1 -b .w3mtxtconvert %build ./configure --prefix=%{_prefix} --mandir=%{_mandir} --libdir=%{_libdir} @@ -120,6 +122,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/*/docbook2ps.* %changelog +* Thu Nov 22 2007 Ondrej Vasik 0.6.14-13 +- fix of w3m params while converting to txt + * Tue Nov 05 2007 Ondrej Vasik 0.6.14-12 - Merge Review(#225705) - corrected some other packaging guidelines issues