Bug 637708

Summary: RFE: rpmlint should check if every binary or script has man page
Product: [Fedora] Fedora Reporter: Miroslav Suchý <msuchy>
Component: rpmlintAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: manuel.wolfshant, tmz, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-27 15:46:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miroslav Suchý 2010-09-27 07:59:15 UTC
Description of problem:
A lot of packages provides executable without man page. Rpmlint should check for every file which is going to be installed in /usr/bin/ /usr/sbin/ /bin and /sbin that equivalent file exist in mandir. Warning should be sufficient.

Comment 1 Ville Skyttä 2010-09-27 15:46:59 UTC
It already does, and in addition to those dirs, executables in /usr/games are checked as well.  For example:

$ rpm -q rpmlint
rpmlint-0.98-1.fc13.noarch
$ rpmlint rpmlint | grep no-manual-page
rpmlint.noarch: W: no-manual-page-for-binary rpmdiff

If you have a reproducer where that fails, please provide the details and feel free to reopen this bug.

Comment 2 Miroslav Suchý 2010-09-27 16:47:14 UTC
Ah sorry, I was using rpmlint-0.94. I thought is was recent enough. Mea culpa.