|
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
$XDG_CONFIG_HOME/rpmlint (~/.config/rpmlint if $XDG_CONFIG_HOME is
empty or not set).
|