diff --git a/a2ps-4.14-manuals.diff b/a2ps-4.14-manuals.diff index 58e7e3c..18b0899 100644 --- a/a2ps-4.14-manuals.diff +++ b/a2ps-4.14-manuals.diff @@ -1,18 +1,9 @@ --- - man/a2ps.1 | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) + man/a2ps.1 | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) --- man/a2ps.1 +++ man/a2ps.1 2014-08-07 14:32:29.000000000 +0000 -@@ -3,7 +3,7 @@ - .SH NAME - a2ps \- format files for printing on a PostScript printer - .SH SYNOPSIS --.B lt-a2ps -+.B a2ps - [\fIOPTION\fR]... [\fIFILE\fR]... - .SH DESCRIPTION - .\" Add any additional description here @@ -81,8 +81,7 @@ first fill (DIRECTION=) rows, or columns predefined font sizes and layouts for 1.. 9 virtuals .TP diff --git a/a2ps.changes b/a2ps.changes index ea3b1ec..633fe4f 100644 --- a/a2ps.changes +++ b/a2ps.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 29 09:14:23 UTC 2017 - werner@suse.de + +- Be more flexible in patching man/a2ps.1 + ------------------------------------------------------------------- Mon May 29 10:59:28 UTC 2017 - werner@suse.de diff --git a/a2ps.spec b/a2ps.spec index 433e568..2807321 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -178,6 +178,8 @@ find -name Makefile.in | xargs touch if test -e man/a2ps.1.rej ; then cat man/a2ps.1.rej exit 1 + else + sed -ri '/^\.B lt-a2ps/{s/lt-(a2ps)/\1/}' man/a2ps.1 || : fi %install