1,885
edits
Changes
→Layout of a specfile
** %configure
** %makeinstall
=== 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.
=== Demo: Creating a Simple Package ===