Mailinglist Archive: opensuse-buildservice (216 mails)

< Previous Next >
[opensuse-buildservice] "BuildRequires: ant" causes "have choice for java-devel"
  • From: Douglas Hubler <douglas@xxxxxxxxx>
  • Date: Tue, 16 Mar 2010 23:58:50 -0400
  • Message-id: <5d36de591003162058q27738ab7p8ccf299a48f1af6d@xxxxxxxxxxxxxx>
When i include ant, i get build error
have choice for java-devel needed by ant: java-1.6.0-sun-devel
java-1.4.2-gcj-compat-devel java-1.6.0-openjdk-devel

I've tried specifying a specific java in *my* spec file
BuildRequires: java-1.6.0-sun

and listing it *before* the "BuildRequires: ant" but it still leads to
the same error because it's ant that is complaining. Is there anyway
to force a particular java globally? or restrict other packages from
being an option?
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >