More Java guidelines questions

Lubomir Kundrak lkundrak at redhat.com
Mon Apr 14 21:46:29 UTC 2008


On Mon, 2008-04-14 at 15:35 -0600, Jerry James wrote:
> I've just been looking at bug 262401 [1] to see what I need to do to
> update it to the new Java packaging guidelines.  I have 2 new
> questions about the guidelines.
> 
> First, the guidelines say that I must both Requires and Build-Requires
> jpackage-utils.  This bit of code needs nothing in jpackage-utils that
> I can discern.  It has no external dependencies, doesn't ship with any
> binary blobs, etc.  The guidelines say must, so I'll do it, but what
> is the rationale?

It contains directories you install into, including /usr/share/java.

> Second, the GCJ guidelines say, "For Fedora versions < 8, no JDK was
> available other than GCJ so GCJ AOT bits MUST be present."  This
> presents a problem for the package in question, because it consists of
> annotations only.  They are Java 1.5 annotations, so the GCJ in F7 can
> produce the needed class files.  But there is no actual code to
> compile, so there is nothing for the GCJ AOT bits to do.  Can an
> exception be granted to annotation-only packages (not that there are
> likely to be many of those)?

I'd say you can safely ignore this and do what your common sense advises
you to do. But I might be wrong :)

-- 
Lubomir Kundrak (Red Hat Security Response Team)




More information about the fedora-devel-list mailing list