[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-buildservice
Subject:    Re: [opensuse-buildservice] How to suppress rpmlint error for non-standard interpretor
From:       Marcus Meissner <meissner () suse ! de>
Date:       2014-11-14 9:23:35
Message-ID: 20141114092334.GA21229 () suse ! de
[Download RAW message or body]

On Thu, Nov 13, 2014 at 10:56:42PM -0700, Rashmi Ranjan Mohanty wrote:
> Hi,
> 
> I am getting these rpmlint errors. How do I suppress it ?
> 
> ====================================
> [  885s] (none): E: badness 3831 exceeds threshold 1000, aborting.
> [  885s] novell-zenworks-rubygem-rake.noarch: E: wrong-script-interpreter (Badness: \
> 533) /opt/novell/zenworks/bin/rake /opt/novell/zenworks/bin/ruby [  885s] \
> novell-zenworks-ruby.x86_64: E: wrong-script-interpreter (Badness: 533) \
> /opt/novell/zenworks/bin/irb /opt/novell/zenworks/bin/ruby [  885s] \
> novell-zenworks-ruby.x86_64: E: wrong-script-interpreter (Badness: 533) \
> /opt/novell/zenworks/bin/testrb /opt/novell/zenworks/bin/ruby [  885s] \
> novell-zenworks-ruby.x86_64: E: wrong-script-interpreter (Badness: 533) \
> /opt/novell/zenworks/bin/erb /opt/novell/zenworks/bin/ruby [  885s] \
> novell-zenworks-ruby.x86_64: E: wrong-script-interpreter (Badness: 533) \
> /opt/novell/zenworks/bin/rdoc /opt/novell/zenworks/bin/ruby [  885s] \
> novell-zenworks-ruby.x86_64: E: wrong-script-interpreter (Badness: 533) \
> /opt/novell/zenworks/bin/ri /opt/novell/zenworks/bin/ruby [  885s] \
> novell-zenworks-ruby.x86_64: E: wrong-script-interpreter (Badness: 533) \
> /opt/novell/zenworks/bin/gem /opt/novell/zenworks/bin/ruby [  885s] This script \
> uses an incorrect interpreter. Correct interpreters should be an [  885s] absolute \
> path to a file in in /(s)bin or /usr/(s)bin. Alternatively, if the [  885s] file \
> isn't supposed to be executed, then don't mark it as executable. \
> ======================================== 
> Also is there a way to completely skip the tests that are run after building the \
> packages ? I think these tests run only for SUSE distros.

add an rpmlintrc and set the badness by adding a line:

setBadness("wrong-script-interpreter",0)

Ciao, Marcus
-- 
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic