# -*- python -*-
# Fedora rpmlint configuration
from Config import *
setOption("Vendor", "Fedora Linux")
setOption("Distribution", "Fedora Linux")
setOption("ReleaseExtension", None)
setOption("ValidBuildHost", ".*")
setOption("Packager", ".*")
setOption("UseVersionInChangeLog", 1)
setOption("UseBzip2", 0)
setOption("UseEpoch", 0)
setOption("ValidSrcPerms", (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/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",
"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 (perl|python)-base.*")
addFilter("W: .* (python|perl5)-naming-policy-not-applied.*")