rpmlint

Langue: en

Version: 147108 (fedora - 04/07/09)

Section: 1 (Commandes utilisateur)

NAME

rpmlint - check common problems in rpm packages

SYNOPSIS

rpmlint [OPTION]... [FILE|PACKAGE]...

DESCRIPTION

rpmlint is a tool for checking common errors in rpm packages. It can be used to test individual packages and spec files before uploading or to check an entire distribution. By default all applicable checks are processed but specific checks can be performed by using command line parameters.

FILE can be a rpm package file, a spec file, or a directory. In case of a directory, it is recursively searched for rpm and spec files to check. PACKAGE is the name of an installed package or a glob(7) pattern to match installed packages, unless a file by that name exists.

-i, --info
Display explanations for reported messages.
-I messageid[,messageid...]
Display explanations for the specified message identifiers and exit. Multiple identifiers can be specified by separating them with commas.
-c, --check=check
Run only the specified check. This option may be given multiple times to specify multiple checks to run.
-a, --all
Check all installed packages.
-C, --checkdir=dir
Insert dir to the front of the list of paths to load checks (and other Python modules) from.
-h, --help
Display summary of command line options and exit.
-v, --verbose
Operate in verbose mode.
-E, --extractdir=dir
Base directory for extracted temporary files, default is what Python's tempfile.gettempdir() returns.
-V, --version
Display version information and exit.
-n, --noexception
Ignore output filters.
-f, --file=conffile
Load user configuration from the specified file, default is ~/.rpmlintrc

CAVEATS

All checks do not apply to all argument types. For best check coverage, run rpmlint on source rpms instead of plain specfiles, and installed binary rpms instead of uninstalled binary rpm files.

FILES

/usr/share/rpmlint/config
Built-in configuration.
/etc/rpmlint/*config
System wide configuration.
~/.rpmlintrc
User configuration.

EXIT CODES

0
No errors.
1
Unspecified error.
2
Interrupted.
64
One or more error message printed.
66
Badness threshold exceeded.

AUTHOR

Originally written by Frédéric Lepied, see the file AUTHORS for (probably incomplete) list of additional contributors. This program is licensed under the GNU General Public License, see the file COPYING included in the distribution archive.