[docbook-utils] fix the sgmlinclude patch (#797120)

Ondrej Vasik ovasik at fedoraproject.org
Tue Dec 11 12:48:16 UTC 2012


commit 6a320cbe57234c9b233cfda7f9c724d825d6fa67
Author: Ondřej Vašík <ovasik at redhat.com>
Date:   Tue Dec 11 13:48:10 2012 +0100

    fix the sgmlinclude patch (#797120)

 docbook-utils-sgmlinclude.patch |    2 +-
 docbook-utils.spec              |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/docbook-utils-sgmlinclude.patch b/docbook-utils-sgmlinclude.patch
index a4958e0..4275b6b 100644
--- a/docbook-utils-sgmlinclude.patch
+++ b/docbook-utils-sgmlinclude.patch
@@ -6,7 +6,7 @@ diff -urNp docbook-utils-0.6.14-orig/backends/man.in docbook-utils-0.6.14/backen
   { echo >&2 "man backend: could not create secure temporary directory"; exit 1;}
  trap 'rm -rf "${TMPDIR}"' EXIT
 -nsgmls "$SGML_FILE" > "${TMPDIR}/nsgmls.tmp"
-+nsgmls "$SGML_INCLUDE" "$SGML_FILE" > "${TMPDIR}/nsgmls.tmp"
++nsgmls ${SGML_INCLUDE} "$SGML_FILE" > "${TMPDIR}/nsgmls.tmp"
  sgmlspl $HELPER <"${TMPDIR}/nsgmls.tmp" 2>"${TMPDIR}/errs"
  if [ $? -ne 0 ]
  then
diff --git a/docbook-utils.spec b/docbook-utils.spec
index dee7f57..c987d67 100644
--- a/docbook-utils.spec
+++ b/docbook-utils.spec
@@ -1,6 +1,6 @@
 Name: docbook-utils
 Version: 0.6.14
-Release: 33%{?dist}
+Release: 34%{?dist}
 Group: Applications/Text
 
 Summary: Shell scripts for managing DocBook documents
@@ -136,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT/tmp
 %{_mandir}/*/docbook2ps.*
 
 %changelog
+* Tue Dec 11 2012 Ondrej Vasik <ovasik at redhat.com> 0.6.14-34
+- fix the sgmlinclude patch (#797120)
+
 * Mon Nov 12 2012 Ondrej Vasik <ovasik at redhat.com> 0.6.14-33
 - add missing requires in pdf subpackage added due to texlive
   update (#875344)


More information about the scm-commits mailing list