From 5c25ef70bd6ec938cb6abb8b6987aee2798b0a5a Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Thu, 4 Apr 2013 10:11:36 +0200 Subject: [PATCH] Fix repeated words in man pages --- expect-5.45-man-page.patch | 37 +++++++++++++++++++++++++++++++++++-- expect.spec | 5 ++++- 2 files changed, 39 insertions(+), 3 deletions(-) diff --git a/expect-5.45-man-page.patch b/expect-5.45-man-page.patch index 1a55251..391e538 100644 --- a/expect-5.45-man-page.patch +++ b/expect-5.45-man-page.patch @@ -1,6 +1,30 @@ +diff -up expect5.45/example/autoexpect.man.orig expect5.45/example/autoexpect.man +--- expect5.45/example/autoexpect.man.orig 2013-04-04 09:59:35.859419535 +0200 ++++ expect5.45/example/autoexpect.man 2013-04-04 09:59:49.164493755 +0200 +@@ -136,7 +136,7 @@ using the date command while running aut + produce a script that will require editing in order for it to work. + + The \-p flag puts autoexpect into "prompt mode". In this mode, +-autoexpect will only look for the the last line of program output \- ++autoexpect will only look for the last line of program output \- + which is usually the prompt. This handles the date problem (see + above) and most others. + +diff -up expect5.45/example/tknewsbiff.man.orig expect5.45/example/tknewsbiff.man +--- expect5.45/example/tknewsbiff.man.orig 2013-04-04 10:02:20.900340183 +0200 ++++ expect5.45/example/tknewsbiff.man 2013-04-04 10:02:50.049502783 +0200 +@@ -177,7 +177,7 @@ The "server" variable names an NNTP news + The default is "news". The "server" variable is + only used if the "active_file" variable is not set. + +-The "server_timeout" variable describes how how many seconds to wait ++The "server_timeout" variable describes how many seconds to wait + for a response from the server before giving up. -1 means wait + forever or until the server itself times out. The default is 60 + seconds. diff -up expect5.45/expect.man.orig expect5.45/expect.man ---- expect5.45/expect.man.orig 2011-09-06 13:15:57.081827720 +0200 -+++ expect5.45/expect.man 2011-09-06 13:16:19.463826364 +0200 +--- expect5.45/expect.man.orig 2006-01-25 22:51:28.000000000 +0100 ++++ expect5.45/expect.man 2013-04-04 10:02:08.465270816 +0200 @@ -173,7 +173,8 @@ way, use the .B \-b flag. @@ -11,3 +35,12 @@ diff -up expect5.45/expect.man.orig expect5.45/expect.man .PP If the string "\-" is supplied as a filename, standard input is read instead. (Use "./\-" to read from a file actually named "\-".) +@@ -621,7 +622,7 @@ patterns are specified as with Tcl's + command. (Such patterns are also similar to C-shell regular expressions + usually referred to as "glob" patterns). The + .B \-gl +-flag may may ++flag may + be used to protect patterns that might otherwise match + .B expect + flags from doing so. diff --git a/expect.spec b/expect.spec index 4e68585..e968343 100644 --- a/expect.spec +++ b/expect.spec @@ -5,7 +5,7 @@ Summary: A program-script interaction and testing utility Name: expect Version: %{majorver} -Release: 8%{?dist} +Release: 9%{?dist} License: Public Domain Group: Development/Languages # URL: probably more useful is http://sourceforge.net/projects/expect/ @@ -164,6 +164,9 @@ rm -rf "$RPM_BUILD_ROOT" %{_mandir}/man1/tknewsbiff.1* %changelog +* Thu Apr 04 2013 Vitezslav Crhonek - 5.45-9 +- Fix repeated words in man pages + * Wed Feb 13 2013 Fedora Release Engineering - 5.45-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild