packages: rpmlint/rpmlint.config - few filters

glen glen at pld-linux.org
Tue Feb 1 22:16:47 CET 2011


Author: glen                         Date: Tue Feb  1 21:16:47 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- few filters

---- Files affected:
packages/rpmlint:
   rpmlint.config (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/rpmlint/rpmlint.config
diff -u packages/rpmlint/rpmlint.config:1.2 packages/rpmlint/rpmlint.config:1.3
--- packages/rpmlint/rpmlint.config:1.2	Sun Jan  9 20:57:50 2011
+++ packages/rpmlint/rpmlint.config	Tue Feb  1 22:16:42 2011
@@ -7,9 +7,18 @@
 setOption("CompressExtension", "gz")
 setOption("UseVersionInChangeLog", False)
 
-# Output filters
+# Output filters.
+# ---------------
 addFilter("W: macro-in-%changelog")
 
+# These are against PLD Linux own policy
+addFilter("E: incoherent-version-in-name")
+addFilter("E: no-packager-tag")
+addFilter("W: macro-in-%changelog")
+addFilter("W: no-major-in-name")
+addFilter("W: python-bytecode-without-source")
+addFilter("W: requires-on-release")
+
 # known suid programs
 for pkg, exe in (
 	("coreutils", "/bin/su"),
@@ -18,3 +27,14 @@
 	):
     addFilter("%s.* (setuid-binary|non-standard-executable-perm) %s (root )?04"
               % (pkg, exe))
+
+setOption("ValidLicenses", (
+	# These are the short names for all of the PLD Linux approved licenses.
+	'BSD',
+	'GPL, Open Data License',
+	'GPL v2',
+	'LGPL v2.1',
+	'LGPL v3',
+	'MPL v1.1',
+	'LGPL',
+))
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpmlint/rpmlint.config?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list