disable rpmlint checks for a specific package?

Hi,

I’m trying to build a few development snapshots from some GTK2 engines (murrine and equinox) and currently I’m having some problems due to rpmlint.

The problem is that the function force_widget_redraw in src/animation.c is supposed to return a gboolean but there’s no return statement in the body of the function.

This triggers the following effect on rpmlint:

Preparing packages for installation...
gtk2-engine-murrine-0.91.0-git20100820
... running 01-check-debuginfo
... testing for empty debuginfo packages
... running 02-check-gcc-output
... testing for serious compiler warnings
    (using /usr/lib/build/checks-data/check_gcc_output)
    (using /var/tmp/build-root/.build.log)

I: Program returns random data in a function
E: gtk2-engine-murrine no-return-in-nonvoid-function ./src/animation.c:57

I: Program returns random data in a function
E: gtk2-engine-murrine no-return-in-nonvoid-function ./src/animation.c:57

Is it possible to disable rpmlint checks for a single package from my side so it bypasses rpmlint?

nmarques

Just fix it… and report it upstream. For the time you read this you could have already done it.

But yes, you can: openSUSE:Packaging checks - openSUSE

Hi
Patch it then with a return? Probably between the last two } at line 57?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.3 (x86_64) Kernel 2.6.34-12-default
up 7 days 21:47, 6 users, load average: 0.13, 0.12, 0.09
GPU GeForce 8600 GTS Silent - Driver Version: 256.44

Thanks, that worked out awesomely :wink:

As for the patching, I’ve already submitted the bugs into upstream for murrine. For the time being it worked out like this :wink: