Richard Fearn <richardfearn@xxxxxxxxx> 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@xxxxxxxxxx> Software Engineer - Developer Experience PGP: 7B087241 Red Hat Inc. http://cz.redhat.com
Attachment:
pgpN0YVC2cg22.pgp
Description: PGP signature
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct