2012-06-06 03:47:14 +08:00
|
|
|
The latest development version can be retrieved from anonymous Git:
|
2006-03-24 15:54:07 +08:00
|
|
|
|
2012-06-06 03:47:14 +08:00
|
|
|
$ git clone git://git.code.sf.net/p/rpmlint/code rpmlint
|
2006-03-24 15:54:07 +08:00
|
|
|
|
2009-08-19 17:14:13 +08:00
|
|
|
To run rpmlint from the working tree or in place from an unpacked tarball:
|
2006-03-24 15:54:07 +08:00
|
|
|
|
2010-12-08 05:22:33 +08:00
|
|
|
$ ./rpmlint -C . <rpms>
|
2006-03-24 15:54:07 +08:00
|
|
|
|
|
|
|
...and to run only a single check, for example to test only FHSCheck:
|
|
|
|
|
2010-12-08 05:22:33 +08:00
|
|
|
$ ./rpmlint -C . -c FHSCheck <rpms>
|
2006-03-24 15:54:07 +08:00
|
|
|
|
2009-01-21 03:36:48 +08:00
|
|
|
For profiling, use something like:
|
|
|
|
|
2010-12-08 05:22:33 +08:00
|
|
|
$ python -O -u -m cProfile -s cumulative rpmlint -C . [...]
|