Description of problem: rpmlint is flagging IcedTea's src subpackage with the only-non-binary-in-usr-lib error. Version-Release number of selected component (if applicable): rpmlint-0.82-3.fc9 How reproducible: Always. 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-1.6.0.0-0.1.b06.fc8.i386.rpm Actual results: java-1.6.0-openjdk-src.i386: E: only-non-binary-in-usr-lib Expected results: 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: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Adding patrickm to the cc list as the manager of the disabled user fitzsim who reported this bug
Closing due to lack of feedback/ideas.