Menu

Tree [93e79c] master /
 History

HTTPS access


File Date Author Commit
 test 2013-12-21 Ville Skyttä Ville Skyttä [6e7cc1] Handle %autosetup and %autopatch.
 tools 2012-01-19 Ville Skyttä Ville Skyttä [569a6b] Add ISO 639-2 3-letter terminology codes for la...
 .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-02-14 Miro Hrončok Miro Hrončok [81b58f] Run all check_specs method for all enabled chec...
 AppDataCheck.py 2013-11-01 Michael Scherer Michael Scherer [83d81b] make appdata-validate optional
 BinariesCheck.py 2014-02-14 Miro Hrončok Miro Hrončok [81b58f] Run all check_specs method for all enabled chec...
 COPYING 2005-11-22 Ville Skyttä Ville Skyttä [6ea0be] Update FSF's address, copy current GPL from gnu...
 Common.py 2013-01-17 Michael Scherer Michael Scherer [d71989] start to refactor various copy of tag ( since %...
 Config.py 2013-12-01 Ville Skyttä Ville Skyttä [018b40] Fix inclusion of AppDataCheck in default checks.
 ConfigCheck.py 2014-02-14 Miro Hrončok Miro Hrončok [81b58f] Run all check_specs method for all enabled chec...
 DistributionCheck.py 2014-02-14 Miro Hrončok Miro Hrončok [81b58f] Run all check_specs method for all enabled chec...
 DocFilesCheck.py 2014-02-14 Miro Hrončok Miro Hrončok [81b58f] Run all check_specs method for all enabled chec...
 FHSCheck.py 2014-02-14 Miro Hrončok Miro Hrončok [81b58f] Run all check_specs method for all enabled chec...
 FilesCheck.py 2014-02-08 Ville Skyttä Ville Skyttä [9f7192] Python 3 compatibility tweaks
 Filter.py 2013-09-12 Ville Skyttä Ville Skyttä [cc6369] Python 3 compatibility tweaks.
 I18NCheck.py 2014-02-14 Miro Hrončok Miro Hrončok [81b58f] Run all check_specs method for all enabled chec...
 INSTALL 2013-11-01 Michael Scherer Michael Scherer [6bedf9] also document we need appdata-validate as a opt...
 InitScriptCheck.py 2014-02-14 Miro Hrončok Miro Hrončok [81b58f] Run all check_specs method for all enabled chec...
 LSBCheck.py 2014-02-08 Ville Skyttä Ville Skyttä [9f7192] Python 3 compatibility tweaks
 Makefile 2014-02-08 Arturo Borrero González Arturo Borrero González [e5bb90] Add rpmdiff man page (#29)
 MenuCheck.py 2014-02-14 Miro Hrončok Miro Hrončok [81b58f] Run all check_specs method for all enabled chec...
 MenuXDGCheck.py 2014-02-08 Ville Skyttä Ville Skyttä [9f7192] Python 3 compatibility tweaks
 NamingPolicyCheck.py 2014-02-14 Miro Hrončok Miro Hrončok [81b58f] Run all check_specs method for all enabled chec...
 PamCheck.py 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
 Pkg.py 2014-02-08 Ville Skyttä Ville Skyttä [9f7192] Python 3 compatibility tweaks
 PostCheck.py 2014-02-14 Miro Hrončok Miro Hrončok [81b58f] Run all check_specs method for all enabled chec...
 README 2012-06-05 Ville Skyttä Ville Skyttä [c37bd2] Update home page.
 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.
 SignatureCheck.py 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
 SourceCheck.py 2014-03-03 Miro Hrončok Miro Hrončok [d6ddb1] Fix wrong method name in SourceCheck
 SpecCheck.py 2014-02-14 Miro Hrončok Miro Hrončok [81b58f] Run all check_specs method for all enabled chec...
 TagsCheck.py 2014-02-08 Ville Skyttä Ville Skyttä [9f7192] Python 3 compatibility tweaks
 ZipCheck.py 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
 __isocodes__.py 2013-07-20 Ville Skyttä Ville Skyttä [602a3b] Regenerate ISO codes list with iso-codes 3.44.
 config 2011-06-10 Ville Skyttä Ville Skyttä [935bc5] Add UseVarLockSubsys option for forbidding use ...
 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-02-14 Miro Hrončok Miro Hrončok [81b58f] Run all check_specs method for all enabled chec...
 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 2013-12-21 Ville Skyttä Ville Skyttä [6e7cc1] Handle %autosetup and %autopatch.

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).

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.