Tree [e5017e] master v1.5 /
History



File Date Author Commit
test 2011-05-31 Ville Skyttä Ville Skyttä [41dd9a] Recognize patches applied via some common pipe ...
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 2012-08-23 Ville Skyttä Ville Skyttä [ae8a01] Tighten macro regexp to min 3 chars, starting w...
BinariesCheck.py 2013-05-09 Ville Skyttä Ville Skyttä [01a4dc] Spelling fixes, wrap long lines.
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 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
ConfigCheck.py 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
DistributionCheck.py 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
DocFilesCheck.py 2011-11-23 Ville Skyttä Ville Skyttä [9401e2] pylint warning cleanups.
FHSCheck.py 2013-01-17 Michael Scherer Michael Scherer [b9e82f] removed /usr/spool and /usr/X386, reorder /var ...
FilesCheck.py 2013-05-09 Ville Skyttä Ville Skyttä [6b5fd9] Add Python 3.4 magic number.
Filter.py 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
I18NCheck.py 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
INSTALL 2012-11-05 Ville Skyttä Ville Skyttä [753721] Note groff dependency.
InitScriptCheck.py 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
LSBCheck.py 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
Makefile 2013-05-09 Ville Skyttä Ville Skyttä [e5017e] Release 1.5.
MenuCheck.py 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
MenuXDGCheck.py 2013-01-18 Michael Scherer Michael Scherer [f1c589] add desktopfile-without-binary warning, to chec...
NamingPolicyCheck.py 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
PamCheck.py 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
Pkg.py 2013-02-02 Ville Skyttä Ville Skyttä [17de59] Cleanups.
PostCheck.py 2013-01-17 Michael Scherer Michael Scherer [d71989] start to refactor various copy of tag ( since %...
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 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
SpecCheck.py 2013-01-18 Michael Scherer Michael Scherer [12e7d3] check that the packager didn't get sloppy by us...
TagsCheck.py 2013-05-09 Ville Skyttä Ville Skyttä [6f3827] Cleanups.
ZipCheck.py 2012-06-05 Ville Skyttä Ville Skyttä [851eb9] Remove no longer updated CVS keywords.
__isocodes__.py 2013-04-02 Ville Skyttä Ville Skyttä [b3b779] Regenerate ISO codes list with iso-codes 3.41.
config 2011-06-10 Ville Skyttä Ville Skyttä [935bc5] Add UseVarLockSubsys option for forbidding use ...
rpmdiff 2013-02-02 Ville Skyttä Ville Skyttä [17de59] Cleanups.
rpmlint 2013-02-02 Ville Skyttä Ville Skyttä [c52948] Revert "small refactoring"
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 2011-02-13 Ville Skyttä Ville Skyttä [f50c05] Delete trailing whitespace.

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.