Open main menu

CDOT Wiki β

Changes

Winter 2011 SBR600 Weekly Schedule

655 bytes removed, 00:31, 9 January 2011
rpmlint: Checking for a clean spec file, SRPM, and RPM
== Tuesday ==
 
=== rpmlint: Checking for a clean spec file, SRPM, and RPM ===
 
<code>rpmlint</code> is a spec file, SRPM (.src.rpm), and RPM (.rpm) checker. To use it, supply the names of the file(s) to be checked as argument(s):
 
rpmlint ''foo.spec foo*.rpm''
 
Notice that the checks performed vary based on the input file. For example, some errors in the spec file (such as the summary ending in a period ".") could be determined from the spec file, but only show up when the SRPM/RPM is checked. Each run will report the number of errors and warnings; errors are serious problems which should not be ignored, while warnings may be ignored depending on the context.
=== mock: Testing BuildRequires ===