diff --git a/ecj.changes b/ecj.changes index 45e760f..7923287 100644 --- a/ecj.changes +++ b/ecj.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 3 05:42:52 UTC 2014 - coolo@suse.com + +- on 13.2 and Factory build against bootstrap java + ------------------------------------------------------------------- Mon Sep 9 11:05:39 UTC 2013 - tchvatal@suse.com diff --git a/ecj.spec b/ecj.spec index 9d41808..ffc977d 100644 --- a/ecj.spec +++ b/ecj.spec @@ -1,7 +1,7 @@ # # spec file for package ecj # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -49,7 +49,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: ant +%if %suse_version < 1320 BuildRequires: java-devel >= 1.6.0 +%else +BuildRequires: java-1_7_0-openjdk-bootstrap-devel +%endif BuildRequires: javapackages-tools BuildRequires: sed BuildRequires: unzip