1RPMLINT(1)                       User Commands                      RPMLINT(1)
2
3
4

NAME

6       rpmlint - check common problems in rpm packages
7

SYNOPSIS

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

DESCRIPTION

12       rpmlint  is  a tool for checking common errors in rpm packages.  It can
13       be used to test individual packages and spec files before uploading  or
14       to  check an entire distribution.  By default all applicable checks are
15       processed but specific checks can be performed by  using  command  line
16       parameters.
17
18       FILE  can  be a rpm package file, a spec file, or a directory.  In case
19       of a directory, it is recursively searched for rpm and  spec  files  to
20       check.   The  special  value - results in standard input being read and
21       treated as (single) spec file content.   PACKAGE  is  the  name  of  an
22       installed  package  or  a  glob(7) pattern to match installed packages,
23       unless a file by that name exists.
24
25       -i, --info
26              Display explanations for reported messages.
27
28       -I messageid[,messageid...]
29              Display explanations for the specified message  identifiers  and
30              exit.   Multiple identifiers can be specified by separating them
31              with commas.
32
33       -c, --check=check
34              Run only the specified check.  This option may be given multiple
35              times to specify multiple checks to run.
36
37       -a, --all
38              Check all installed packages.
39
40       -C, --checkdir=dir
41              Insert dir to the front of the list of paths to load checks (and
42              other Python modules) from.
43
44       -h, --help
45              Display summary of command line options and exit.
46
47       -v, --verbose
48              Operate in verbose mode.
49
50       -E, --extractdir=dir
51              Base directory for extracted temporary files,  default  is  what
52              Python's tempfile.gettempdir() returns.
53
54       -V, --version
55              Display version information and exit.
56
57       -n, --noexception
58              Ignore output filters.
59
60       -f, --file=conffile
61              Load  user  configuration  from  the  specified file, default is
62              $XDG_CONFIG_HOME/rpmlint (~/.config/rpmlint if  $XDG_CONFIG_HOME
63              is empty or not set).
64
65       -o, --option=value
66              Override  a  configuration  option.  value is a whitespace sepa‐
67              rated string, first word of which is the option name to set, and
68              the  Python eval() return value for the rest is set as the value
69              for the option.  Passing only an option name is  treated  as  if
70              None  was  passed  as  its value.  See the file "config" shipped
71              with rpmlint for the list of  configuration  options  and  their
72              types.  For example:
73               -o "NetworkEnabled True"
74               -o "Distribution 'My favorite distro'"
75               -o "MaxLineLength 80"
76               -o "ValidShells ('/bin/sh', '/bin/bash')"
77

CAVEATS

79       All  checks  do not apply to all argument types.  For best check cover‐
80       age, run rpmlint on all source and binary packages your build produces.
81       The  set of checks rpmlint runs on source packages is a superset of the
82       one for plain specfiles, the set of checks  run  for  installed  binary
83       packages is a superset of the one for uninstalled binary package files,
84       and the source and binary package check sets are quite different.
85

FILES

87       /usr/share/rpmlint/config
88              Built-in configuration.
89
90       /etc/rpmlint/*config
91              System wide configuration.
92
93       $XDG_CONFIG_HOME/rpmlint or ~/.config/rpmlint
94              User configuration.
95

EXIT CODES

97       0      No errors.
98
99       1      Unspecified error.
100
101       2      Interrupted.
102
103       64     One or more error message printed.
104
105       66     Badness threshold exceeded.
106

AUTHOR

108       Originally written by Frédéric Lepied, see the file AUTHORS for (proba‐
109       bly incomplete) list of additional contributors.
110
112       This  program is licensed under the GNU General Public License, see the
113       file COPYING included in the distribution archive.
114
115
116
117rpmlint                          January 2009                       RPMLINT(1)
Impressum