Red Hat Bugzilla – Bug 436500
only-non-binary-in-usr-lib error should not apply to subpackages
Last modified: 2008-07-25 13:30:52 EDT
Description of problem:
rpmlint is flagging IcedTea's src subpackage with the only-non-binary-in-usr-lib
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Build IcedTea RPMs: https://bugzilla.redhat.com/show_bug.cgi?id=433070
2. rpmlint $rpm_topdir/RPMS/i386/java-1.6.0-openjdk-src-184.108.40.206-0.1.b06.fc8.i386.rpm
java-1.6.0-openjdk-src.i386: E: only-non-binary-in-usr-lib
No output. This is a subpackage, split out purely for size purposes. It seems
arbitrary to say that because src.zip happens to be architecture-independent,
and happens to be the only file in the -src subpackage, that it needs to go in
/usr/share. src.zip needs to in $JAVA_HOME so that IDEs can locate it properly.
Apart for some very specific checks on installed packages, the unit of work for
rpmlint is one package, and it has no way of knowing whether something is a
subpackage or not. I don't have any ideas right how to address this issue apart
from just ignoring rpmlint's message. Others?
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Adding email@example.com to the cc list as the manager of the disabled user firstname.lastname@example.org who reported this bug
Closing due to lack of feedback/ideas.