Accepting request 752969 from home:StefanBruens:branches:devel:tools:scm

- Depend on one of the DocBook stylesheets (4 or 5), prefer
  DocBook 4 for backwards compatibility.
- Remove unnecessary docbook-xsl-stylesheets BuildRequires.

OBS-URL: https://build.opensuse.org/request/show/752969
OBS-URL: https://build.opensuse.org/package/show/Publishing/xmlto?expand=0&rev=34
This commit is contained in:
Martin Pluskal 2019-12-03 09:39:08 +00:00 committed by Git OBS Bridge
parent 2af60084ee
commit 2da79a4c80
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Nov 29 18:05:11 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Depend on one of the DocBook stylesheets (4 or 5), prefer
DocBook 4 for backwards compatibility.
- Remove unnecessary docbook-xsl-stylesheets BuildRequires.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 18 15:42:45 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org> Mon Mar 18 15:42:45 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -28,15 +28,20 @@ Source10: README.SUSE
Patch0: xmlto-nonvoid.patch Patch0: xmlto-nonvoid.patch
Patch1: xmlto-xsltopts.patch Patch1: xmlto-xsltopts.patch
Patch2: xmlto-codecleanup.patch Patch2: xmlto-codecleanup.patch
BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: flex BuildRequires: flex
BuildRequires: libxslt-tools BuildRequires: libxslt-tools
BuildRequires: sgml-skel BuildRequires: sgml-skel
# We rely entirely on the DocBook XSL stylesheets! # We rely entirely on the DocBook XSL stylesheets!
%if 0%{suse_version} >= 1500
Requires: (docbook-xsl-stylesheets >= 1.56.0 or docbook5-xsl-stylesheets >= 1.56.0)
Recommends: docbook-xsl-stylesheets
%else
Requires: docbook-xsl-stylesheets >= 1.56.0 Requires: docbook-xsl-stylesheets >= 1.56.0
Requires: docbook_4 %endif
Requires: libxslt-tools Requires: libxslt-tools
# Used for validation (xmllint)
Recommends: libxml2-tools
# For full functionality, we need passivetex; but since most users are not happy with # For full functionality, we need passivetex; but since most users are not happy with
# getting texlive installed, we only suggest it. # getting texlive installed, we only suggest it.
Suggests: texlive-xmltex >= 2007 Suggests: texlive-xmltex >= 2007