diff --git a/xmlto.changes b/xmlto.changes index 2590864..7d52aaa 100644 --- a/xmlto.changes +++ b/xmlto.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Dec 5 23:17:29 UTC 2012 - pascal.bleser@opensuse.org + +- add explicit requires for libxslt-tools or libxslt1 in order to + fix "have choice" in several repos + ------------------------------------------------------------------- Wed Apr 18 16:47:31 UTC 2012 - chris@computersalat.de diff --git a/xmlto.spec b/xmlto.spec index 484b83c..86a8de5 100644 --- a/xmlto.spec +++ b/xmlto.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %if 0%{?suse_version} < 1030 %define dist_has_fdupes 0 %else @@ -53,7 +54,17 @@ BuildRequires: fdupes # We rely entirely on the DocBook XSL stylesheets! Requires: docbook-xsl-stylesheets >= 1.56.0 Requires: docbook_4 +%if 0%{?suse_version} > 1210 +Requires: libxslt-tools +BuildRequires: libxslt-tools +%endif +%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1220 +Requires: libxslt1 +BuildRequires: libxslt1 +%endif +%if 0%{?suse_version} < 1 Requires: xsltproc +%endif # For full functionality, we need passivetex. Recommends: texlive-xmltex >= 2007