File config of Package rpmlint-Factory

# -*- python -*-
#
# Copyright (c) 2007, 2008 Dirk Mueller, Novell Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program (see the file COPYING); if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
#
################################################################
#
# Configuration for the rpmlint utility.
# Loaded before ~/.rpmlintrc
# $Id: config,v 1.39 2003/12/22 11:20:55 flepied Exp $

# This line is mandatory to access the configuration functions
from Config import *

# score table
setBadness('arch-dependent-file-in-usr-share', 590)
setBadness('infopage-not-gzipped', 540)
setBadness('wrong-script-interpreter', 533)
setBadness('arch-independent-package-contains-binary-or-object', 499)
setBadness('library-without-ldconfig-postin', 300)
setBadness('library-without-ldconfig-postun', 300)
# on x86, we want some libraries with non-pic code (mythtv, ffmpeg)
# setBadness('shlib-with-non-pic-code', 223)
setBadness('makefile-junk', 109)
setBadness('files-duplicated-waste', 100)
setBadness('summary-not-capitalized', 63)
setBadness('summary-ended-with-dot', 89)
setBadness('summary-too-long', 200)
setBadness('executable-docs', 60)
setBadness('spurious-executable-perm', 50)
setBadness('devel-file-in-non-devel-package', 50)

# check has some problems still (see discussion on opensuse-packagers)
#setBadness('missing-dependency-to-cron', 800)
setBadness('executable-docs', 900)

#fatal checks
setBadness('percent-in-dependency', 10000)
setBadness('percent-in-obsoletes', 10000)
setBadness('percent-in-provides', 10000)
setBadness('percent-in-conflicts', 10000)
setBadness('invalid-pkgconfig-file', 10000)
setBadness('unversioned-explicit-self-provides', 10000)
setBadness('file-contains-buildroot', 10000)
setBadness('shlib-policy-name-error', 10000)
setBadness('hardlink-across-partition', 10000)
setBadness('hardlink-across-config-files', 10000)
setBadness('libtool-wrapper-in-package', 10000)
setBadness('libtool-wrapper-in-package', 10000)
setBadness('invalid-filepath-dependency', 10000)
setBadness('suse-policy-kmp-missing-supplements', 10000)
openSUSE Build Service is sponsored by