Mailinglist Archive: opensuse-buildservice (269 mails)

< Previous Next >
Re: [opensuse-buildservice] How to disable rpmlint check "devel-file-in-non-devel-package (Badness: 50)"
  • From: Lars Vogdt <lrupp@xxxxxxx>
  • Date: Wed, 17 Sep 2008 02:49:17 +0200
  • Message-id: <20080917024917.c59kj7q800wo44c0@xxxxxxxxxxxx>
On Di 16 Sep 2008 23:12:08 CEST Stefan Dirsch <sndirsch@xxxxxxx> wrote:
E: devel-file-in-non-devel-package (Badness: 50) /usr/share/dink/dink/Story/S3-BOWL.c

These are files required during runtime by the game engine, not C
sources! How can I disable this rpmlint check?

Adding the file rpmlintrc with the following content

# This line is mandatory to access the configuration functions
from Config import *
addFilter("freedink-data devel-file-in-non-devel-package")

Try something like:
----
# files required during runtime by the game engine, they are not C sources
addFilter("devel-file-in-non-devel-package.*/usr/share/dink/dink/Story/.*")
----
- not the package name is the first arg - it's the rpmlint-check name.
- use .* between the tag and other args (just if for example the badness score is changing)
- restrict the filter to the files you've checked that they should ignored (don't use something like addFilter("devel-file-in-non-devel-package") which will also work
- add a comment to your filter and explain why it is needed

With kind regards,
Lars



--
Lars Vogdt <lrupp@xxxxxxx>
Autobuild Team
SUSE Linux Products GmbH GF: Markus Rex
Nuernberg, Germany HRB 16746 (AG Nuernberg)
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References