From 48080b06986660721acf8fab05cadab9ac94f017 Mon Sep 17 00:00:00 2001 From: Herbert Graeber Date: Fri, 4 Sep 2009 20:27:40 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=26 --- alex.changes | 5 +++++ alex.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 alex.changes diff --git a/alex.changes b/alex.changes new file mode 100644 index 0000000..edb27db --- /dev/null +++ b/alex.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Sep 4 20:26:44 UTC 2009 - herbert@graeber-clan.de + +- use java-1_6_0-openjdk for 11.0 and above, java-1_5_0-sun else + diff --git a/alex.spec b/alex.spec index da978b6..cb6ef4d 100644 --- a/alex.spec +++ b/alex.spec @@ -28,8 +28,10 @@ BuildRequires: sgml-skel BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook-utils BuildRequires: fop -%if 0%{?suse_version} == 1100 -BuildRequires: java-1_6_0-sun +%if 0%{?suse_version} >= 1100 +BuildRequires: java-1_6_0-openjdk +%else +BuildRequires: java-1_5_0-sun %endif BuildRequires: licenses Prefix: /usr