Tree [a4a3f7] master v1.6 /
History



File Date Author Commit
test 2014-07-19 Ville Skyttä Ville Skyttä [b44c8b] Clean up test dir structure
tools 2014-05-29 Ville Skyttä Ville Skyttä [cfe49b] flake8 cleanups
.gitignore 2012-06-05 Ville Skyttä Ville Skyttä [0c21df] AUTHORS is no longer generated.
AUTHORS 2012-06-05 Ville Skyttä Ville Skyttä [0c21df] AUTHORS is no longer generated.
AbstractCheck.py 2014-05-29 Ville Skyttä Ville Skyttä [cfe49b] flake8 cleanups
AppDataCheck.py 2013-11-01 Michael Scherer Michael Scherer [83d81b] make appdata-validate optional
BinariesCheck.py 2014-07-19 Ville Skyttä Ville Skyttä [9cb1fc] flake8 cleanups
COPYING 2005-11-22 Ville Skyttä Ville Skyttä [6ea0be] Update FSF's address, copy current GPL from gnu...
Config.py 2014-05-29 Ville Skyttä Ville Skyttä [cfe49b] flake8 cleanups
ConfigCheck.py 2014-02-14 Miro Hrončok Miro Hrončok [81b58f] Run all check_specs method for all enabled chec...
DistributionCheck.py 2014-07-19 Ville Skyttä Ville Skyttä [9cb1fc] flake8 cleanups
DocFilesCheck.py 2014-05-29 Ville Skyttä Ville Skyttä [cfe49b] flake8 cleanups
FHSCheck.py 2014-02-14 Miro Hrončok Miro Hrončok [81b58f] Run all check_specs method for all enabled chec...
FilesCheck.py 2014-07-19 Ville Skyttä Ville Skyttä [9cb1fc] flake8 cleanups
Filter.py 2014-05-29 Ville Skyttä Ville Skyttä [cfe49b] flake8 cleanups
I18NCheck.py 2014-07-19 Ville Skyttä Ville Skyttä [9cb1fc] flake8 cleanups
INSTALL 2014-07-14 Ville Skyttä Ville Skyttä [e23ce4] Note pytest build dependency
InitScriptCheck.py 2014-07-19 Ville Skyttä Ville Skyttä [9cb1fc] flake8 cleanups
LSBCheck.py 2014-05-29 Ville Skyttä Ville Skyttä [cfe49b] flake8 cleanups
Makefile 2014-07-19 Ville Skyttä Ville Skyttä [a4a3f7] Release 1.6
MenuCheck.py 2014-07-19 Ville Skyttä Ville Skyttä [9cb1fc] flake8 cleanups
MenuXDGCheck.py 2014-02-08 Ville Skyttä Ville Skyttä [9f7192] Python 3 compatibility tweaks
NamingPolicyCheck.py 2014-05-29 Ville Skyttä Ville Skyttä [cfe49b] flake8 cleanups
PamCheck.py 2014-05-29 Ville Skyttä Ville Skyttä [cfe49b] flake8 cleanups
Pkg.py 2014-05-29 Ville Skyttä Ville Skyttä [cfe49b] flake8 cleanups
PostCheck.py 2014-05-29 Ville Skyttä Ville Skyttä [cfe49b] flake8 cleanups
README 2014-07-14 Ville Skyttä Ville Skyttä [8bb7d7] Note SCLCheck in README
README.devel 2012-06-05 Ville Skyttä Ville Skyttä [239635] Update checkout instructions.
RpmFileCheck.py 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
SCLCheck.py 2014-07-19 Ville Skyttä Ville Skyttä [9cb1fc] flake8 cleanups
SignatureCheck.py 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
SourceCheck.py 2014-05-29 Ville Skyttä Ville Skyttä [cfe49b] flake8 cleanups
SpecCheck.py 2014-07-19 Ville Skyttä Ville Skyttä [9cb1fc] flake8 cleanups
TagsCheck.py 2014-07-19 Ville Skyttä Ville Skyttä [9cb1fc] flake8 cleanups
ZipCheck.py 2014-05-29 Ville Skyttä Ville Skyttä [cfe49b] flake8 cleanups
__isocodes__.py 2014-05-29 Ville Skyttä Ville Skyttä [cfe49b] flake8 cleanups
config 2014-04-30 Ludwig Nussel Ludwig Nussel [5d89d2] disallow /var/run and /var/lock
rpmdiff 2014-02-08 Ville Skyttä Ville Skyttä [090af7] rpmdiff: Make work with Python 3
rpmdiff.1 2014-02-08 Ville Skyttä Ville Skyttä [89cb90] rpmdiff.1: Update list of valid --ignore values
rpmlint 2014-05-29 Ville Skyttä Ville Skyttä [cfe49b] flake8 cleanups
rpmlint.1 2011-09-13 Ville Skyttä Ville Skyttä [266e32] Force plain ASCII quotes in man page examples.
rpmlint.bash-completion 2011-11-06 Ville Skyttä Ville Skyttä [b486ac] Hush when trying to load _rpm_installed_packages.
test.sh 2014-07-19 Ville Skyttä Ville Skyttä [b44c8b] Clean up test dir structure

Read Me

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

rpmlint can check binary rpms (files and installed ones), source rpms,
and plain specfiles, but 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.

The idea for rpmlint is from the lintian tool of the Debian project.

Comments and new checks welcome. See the project home page at
http://sourceforge.net/p/rpmlint/ for contact information, bug tracking
system and other project resources.

Implemented checks:

	o Tag checks (TagsCheck).
	o Distribution specific checks (MandrakeCheck).
	o Binary checks (BinaryCheck).
	o Configuration file checks (ConfigCheck).
	o Location, permission, group and owner checks (FileCheck).
	o suid warnings (FileCheck).
	o Signature checks (SignatureCheck).
	o FHS checks (FHSCheck).
	o Source specific checks (SourceCheck).
	o i18n checks (I18NCheck).
	o Menu system checks (MenuCheck).
	o %post; %pre, %postun and %preun script checks (PostCheck).
	o /etc/rc.d/init.d checks (InitScriptCheck).
	o Spec file checks (SpecCheck).
	o Zip/Jar file checks (ZipCheck).
	o Pam configuration file checks (PamCheck).
	o Rpm file checks (RpmFileCheck).
	o Software Collections checks (SCLCheck).

If you want to change configuration options or the list of checks, use
the global configuration files /etc/rpmlint/*config or the user
configuration file $XDG_CONFIG_HOME/rpmlint (~/.config/rpmlint if
$XDG_CONFIG_HOME is empty or not set).

Configuration files are Python source files and should begin with the
following line:

from Config import *

to load configuration functions.

Configuration functions:

resetChecks() resets the list of checks.

addCheck(check) adds the check to the list of checks to try.

addCheckDir(path) adds a path to look for checks.

setOption(name, value) sets the value of the configuration option.
See below for the list of available options.

addFilter(regexp) adds a filter to remove the output of a check, and
removeFilter(regexp) removes one (for use eg. in per-user configuration
files to remove filters added in system config files).

See the file "config" shipped with rpmlint for examples, available
options and their default values.