From a0fe7e2231027261acc3eed846b2de1c778890a6b45a9b7fa1be27c6c84f4b4a Mon Sep 17 00:00:00 2001 From: Thomas Schraitle Date: Tue, 8 Jan 2013 08:03:31 +0000 Subject: [PATCH] - Added BuildRequires xerces-j2 only for openSUSE 12.1 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=45 --- suse-xsl-stylesheets.changes | 5 +++++ suse-xsl-stylesheets.spec | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/suse-xsl-stylesheets.changes b/suse-xsl-stylesheets.changes index aaf05e9..a2051ea 100644 --- a/suse-xsl-stylesheets.changes +++ b/suse-xsl-stylesheets.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 8 08:02:14 UTC 2013 - toms@opensuse.org + +- Added BuildRequires xerces-j2 only for openSUSE 12.1 + ------------------------------------------------------------------- Mon Jan 7 13:40:02 UTC 2013 - toms@opensuse.org diff --git a/suse-xsl-stylesheets.spec b/suse-xsl-stylesheets.spec index 2c09706..ddc2e23 100644 --- a/suse-xsl-stylesheets.spec +++ b/suse-xsl-stylesheets.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: suse-xsl-stylesheets Version: 1.9.14 Release: 0 @@ -36,6 +37,7 @@ Source2: %{name}.rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +BuildRequires: bzip2 BuildRequires: docbook-xsl-stylesheets >= 1.75 BuildRequires: fdupes BuildRequires: libxslt @@ -46,6 +48,11 @@ Requires: docbook Requires: docbook-xsl-stylesheets >= 1.75 Requires: libxslt +# Only needed to fix the "have choice" error between xerces-j2 and crimson +%if 0%{?suse_version} == 1210 +BuildRequires: xerces-j2 +%endif + Recommends: daps Recommends: docbook5 Recommends: docbook5-xsl-stylesheets