forked from pool/xmlto
- Modernise spec file
OBS-URL: https://build.opensuse.org/package/show/Publishing/xmlto?expand=0&rev=35
This commit is contained in:
parent
2da79a4c80
commit
87f6cb4a9c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
15
xmlto.spec
15
xmlto.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package xmlto
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -33,13 +33,9 @@ BuildRequires: flex
|
||||
BuildRequires: libxslt-tools
|
||||
BuildRequires: sgml-skel
|
||||
# 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
|
||||
%endif
|
||||
Requires: libxslt-tools
|
||||
Recommends: docbook-xsl-stylesheets
|
||||
# Used for validation (xmllint)
|
||||
Recommends: libxml2-tools
|
||||
# For full functionality, we need passivetex; but since most users are not happy with
|
||||
@ -52,16 +48,13 @@ stylesheets. As a processor it depends on xsltproc and as a formatter
|
||||
for print output it makes use of passivetex.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%autosetup -p1
|
||||
cp %{SOURCE10} .
|
||||
rm -f xmlif/xmlif.c
|
||||
|
||||
%build
|
||||
%configure BASH=/bin/bash
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make check %{?_smp_mflags}
|
||||
|
Loading…
Reference in New Issue
Block a user