Richard Fearn <richardfearn(a)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_Own...
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(a)redhat.com>
Software Engineer - Developer Experience
PGP: 7B087241
Red Hat Inc.
http://cz.redhat.com