On Di 16 Sep 2008 23:12:08 CEST Stefan Dirsch
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