osc copypac from project:Publishing package:xmlto revision:33

OBS-URL: https://build.opensuse.org/package/show/Publishing/xmlto?expand=0&rev=37
This commit is contained in:
Martin Pluskal 2019-12-04 08:40:00 +00:00 committed by Git OBS Bridge
parent bdc8b7f6bc
commit 317b6528a6
2 changed files with 11 additions and 20 deletions

View File

@ -1,15 +1,3 @@
-------------------------------------------------------------------
Tue Dec 3 09:40:00 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
- Modernise spec file
-------------------------------------------------------------------
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

@ -1,7 +1,7 @@
# #
# spec file for package xmlto # spec file for package xmlto
# #
# Copyright (c) 2019 SUSE LLC # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -28,18 +28,18 @@ 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
Requires: libxslt-tools
# We rely entirely on the DocBook XSL stylesheets! # We rely entirely on the DocBook XSL stylesheets!
Recommends: (docbook-xsl-stylesheets >= 1.56.0 or docbook5-xsl-stylesheets >= 1.56.0) Requires: docbook-xsl-stylesheets >= 1.56.0
# Used for validation (xmllint) Requires: docbook_4
Recommends: libxml2-tools Requires: libxslt-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
%description %description
This is a package for converting XML files to various formats using XSL This is a package for converting XML files to various formats using XSL
@ -47,13 +47,16 @@ stylesheets. As a processor it depends on xsltproc and as a formatter
for print output it makes use of passivetex. for print output it makes use of passivetex.
%prep %prep
%autosetup -p1 %setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
cp %{SOURCE10} . cp %{SOURCE10} .
rm -f xmlif/xmlif.c rm -f xmlif/xmlif.c
%build %build
%configure BASH=/bin/bash %configure BASH=/bin/bash
%make_build make %{?_smp_mflags}
%check %check
make check %{?_smp_mflags} make check %{?_smp_mflags}