SHA256
1
0
forked from pool/xmlto

Accepting request 88729 from home:namtrac:branches:Publishing

- Add xmlto-lynx-empty-file.patch to fix problems with lynx on
  empty files, upstream commit 57

OBS-URL: https://build.opensuse.org/request/show/88729
OBS-URL: https://build.opensuse.org/package/show/Publishing/xmlto?expand=0&rev=16
This commit is contained in:
Stephan Kulow 2011-10-19 18:31:54 +00:00 committed by Git OBS Bridge
parent c26d7c00ee
commit 2b412da5fa
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- xmlto.in 2011-10-19 16:02:34.130369281 +0200
+++ xmlto.in 2011-10-19 16:03:24.226367583 +0200
@@ -566,6 +566,9 @@
-o "$XSLT_PROCESSED" "$STYLESHEET" "$INPUT_FILE"
fi
+ #xsltproc may return no file on empty input, touch it to have it for sure
+ touch "$XSLT_PROCESSED"
+
if [ $? == 4 ]
then
XSLTOPTS="${XSLTOPTS} --catalogs"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 19 14:01:53 UTC 2011 - idonmez@suse.com
- Add xmlto-lynx-empty-file.patch to fix problems with lynx on
empty files, upstream commit 57
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 8 09:42:34 CEST 2011 - ke@suse.de Wed Jun 8 09:42:34 CEST 2011 - ke@suse.de

View File

@ -34,6 +34,7 @@ Patch0: xmlto-nonvoid.patch
Patch1: xmlto-0.0.18-overflow.patch Patch1: xmlto-0.0.18-overflow.patch
Patch3: xmlto-0.0.23-xsltopts.diff Patch3: xmlto-0.0.23-xsltopts.diff
Patch4: xmlto-codecleanup.patch Patch4: xmlto-codecleanup.patch
Patch5: xmlto-lynx-empty-file.patch
BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: flex BuildRequires: flex
@ -58,6 +59,7 @@ for print output it makes use of passivetex.
%patch1 -p1 %patch1 -p1
%patch3 -p0 %patch3 -p0
%patch4 %patch4
%patch5
cp %{SOURCE10} README.SuSE cp %{SOURCE10} README.SuSE
rm -f xmlif/xmlif.c rm -f xmlif/xmlif.c