Java headless bugs

Stanislav Ochotnicky sochotnicky at redhat.com
Tue Feb 25 08:59:08 UTC 2014


Richard Fearn <richardfearn at gmail.com> writes:

>>> Slightly off-topic: fedora-review is telling packagers NOT to add
>>> "Requires: jpackage-utils" to javadoc subpackages because that is added
>>> automatically, but I see no mention of this on
>>> https://fedoraproject.org/wiki/Packaging:Java.
>>
>> Guidelines state that package must have "R: jpackage-utils" because it
>> contains filesystem (/usr/share/javadoc directory).
>
> Where does it say that? I can see this bit:
>
>> Java binary packages or their dependencies MUST have Requires (generated by RPM or manual) on:
>> * java-headless or java-headless >= 1:minimal_required_version
>> * jpackage-utils
> but that doesn't seem to apply to -javadoc subpackages.

It's actually part of generic guidelines:
http://fedoraproject.org/wiki/Packaging:Guidelines#File_and_Directory_Ownership

Quoting:
"Packages must own all directories they put files in, except for:[snip]"

Since javadoc subpackages put files in /usr/share/javadoc they must
require package that provides this directory. I guess it wouldn't hurt
to repeat this in Java guidelines separately. Next guideline iteration I
guess...


--
Stanislav Ochotnicky <sochotnicky at redhat.com>
Software Engineer - Developer Experience

PGP: 7B087241
Red Hat Inc.                               http://cz.redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20140225/3c4264be/attachment.sig>


More information about the devel mailing list