From 4b9a51f194184f52616505b8c528616cd35aa4e6ef7503f5fd6a9e9fe0f5c863 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 29 May 2017 11:15:10 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Publishing/a2ps?expand=0&rev=66 --- a2ps.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2ps.spec b/a2ps.spec index 96a4c8a..70723ea 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -173,7 +173,10 @@ find -name Makefile.in | xargs touch grep '(This is a test text' test.latin | iconv -f latin1 -t utf8 chmod u+rw,g+r,o+r man/*.1 cp -p man/a2ps.1 man/a2ps.1.backup - patch --reject-format=unified --quoting-style=literal -f -p0 -F0 < %{S:5} + patch --reject-format=unified --quoting-style=literal -f -p0 -F0 < %{S:5} || cat man/a2ps.1.rej + if test -e man/a2ps.1.rej ; then + exit 1 + fi %install make install DESTDIR=%{buildroot} PSFONT_PATH=%{_datadir}/ghostscript/fonts