rpmlint/rpmlint-fedora-config
Ville Skyttä 0bd46f0df3 - 0.71, confmsg patch and bits from initvars patch applied upstream.
- Filter out Mandriva-specific errors about missing locales-* deps
    (#165457).
- Patch to not warn about non-empty *.bs (in Perl packages).
- Patch to clarify PreReq explanation, make it a warning instead of an
    error.
- Patch to warn about use of BuildPreReq.
2005-08-11 19:32:46 +00:00

97 lines
2.7 KiB
Python

# -*- python -*-
# Fedora rpmlint configuration
from Config import *
setOption("ReleaseExtension", '')
setOption("ValidBuildHost", ".*")
setOption("Packager", ".*")
setOption("UseVersionInChangeLog", 1)
setOption("UseBzip2", 0)
setOption("UseEpoch", 0)
setOption("ValidSrcPerms", (0664, 0644, ))
setOption("ValidGroups", (
"Amusements/Games",
"Amusements/Graphics",
"Applications/Archiving",
"Applications/Communications",
"Applications/Databases",
"Applications/Editors",
"Applications/Emulators",
"Applications/Engineering",
"Applications/File",
"Applications/Internet",
"Applications/Multimedia",
"Applications/Productivity",
"Applications/Publishing",
"Applications/System",
"Applications/Text",
"Development/Debug", # intended for debuginfo packages only
"Development/Debuggers",
"Development/Languages",
"Development/Libraries",
"Development/System",
"Development/Tools",
"Documentation",
"System Environment/Base",
"System Environment/Daemons",
"System Environment/Kernel",
"System Environment/Libraries",
"System Environment/Shells",
"User Interface/Desktops",
"User Interface/X",
"User Interface/X Hardware Support",
))
setOption("ValidLicenses", (
"Apache Software License",
"Artistic",
"BSD",
"Commercial",
"CPL",
"Distributable",
"FDL",
"Freeware",
"GPL",
"IBM Public License",
"LaTeX Project Public License",
"LGPL",
"MIT",
"MPL",
"NetHack General Public License",
"Non-distributable",
"Public Domain",
"Python Software Foundation License",
"QPL",
"Sun Public License",
"W3C Software License",
"Zope Public License",
))
setOption("ValidShells", (
"/bin/sh",
"/bin/bash",
"/sbin/ldconfig",
"/usr/bin/perl",
"/usr/bin/python",
))
# Output filters
addFilter("W: .* source-or-patch-not-[bg]zipped .*")
addFilter("E: .* lib-package-without-%mklibname")
addFilter("E: .* no-dependency-on (perl|python)-base.*")
addFilter("E: .* no-dependency-on locales-.*")
addFilter("W: .* (python|perl5)-naming-policy-not-applied.*")
addFilter("W: .* invalid-(distribution|vendor) .*")
addFilter("E: .* no-(packager-tag|signature)")
addFilter("E: .* incoherent-version-in-name.*")
addFilter("E: .* invalid-build-requires .*")
addFilter("W: .* ghost-files-without-postin")
addFilter("W: .* postin-without-ghost-file-creation .*")
addFilter("W: .* no-major-in-name .*")
addFilter("E: .* executable-in-library-package .*")
addFilter("E: .* non-versioned-file-in-library-package .*")
addFilter("E: .* requires-on-release .*")
addFilter("W: .* jar-not-indexed .*")
addFilter("E: .* invalid-(lc-messages|locale-man)-dir .*")
addFilter("E: .* outside-libdir-files .*")