[Fedora-packaging] java-devel pulls in gcj, not openjdk-devel

Rex Dieter rdieter at math.unl.edu
Sat Jun 6 15:52:57 UTC 2009


On 06/06/2009 06:17 AM, Jussi Lehtola wrote:
> Hi,
>
>
> isn't nowadays openjdk-1.6.0-java-devel supposed to be the Java compiler
> we use always?
>
> I just noticed that the java-devel that is supposed to be used in spec
> files pulls in
>
>   java-1.5.0-gcj-devel-1.5.0.0-28.fc11.x86_64
>
> which made my jaxodraw compilation fail (gcj isn't supported). Shouldn't
> the provides: java-devel be removed from java-1.5.0-gcj-devel since this
> causes problems?

IMO, if your app can only use openjdk, then explictly
BuildRequires: java-devel-openjdk

-- Rex




More information about the packaging mailing list