[opensuse-buildservice] How to disable rpm-lint checks?

rpm-lint stalls the build of eGroupware openSUSE 11.0 packages with the following message: eGroupware-gallery.noarch: E: wrong-script-interpreter (Badness: 533) /usr/share/egroupware/gallery/gallery2/lib/tools/bin/extractClassXml.pl "/usr/local/bin/perl" eGroupware-gallery.noarch: E: wrong-script-interpreter (Badness: 533) /usr/share/egroupware/gallery/gallery2/lib/tools/bin/makeManifest.pl "/usr/local/bin/perl" This script uses an incorrect interpreter. Correct interpreters should be an absolute path to a file in in /(s)bin or /usr/(s)bin. Alternatively, if the file isn't supposed to be executed, then don't mark it as executable. RPMLINT: E: BADNESS is 1770 - threshold exceeded. aborting the build. I know the message is absolutely correct, thought Gallery2 is an external application we only package it with a small wrapper for eGroupware. So I dont like patching their sources. Funny thing is, it seems only apply to openSUSE 11.0 target. Ralf -- Ralf Becker eGroupWare Training & Support ==> http://www.egroupware-support.de Outdoor Unlimited Training GmbH [www.outdoor-training.de] Handelsregister HRB Kaiserslautern 3587 Geschäftsführer Birgit und Ralf Becker Leibnizstr. 17, 67663 Kaiserslautern, Germany Telefon +49 (0)631 31657-0 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Ralf, 533)
a) I would really suggest you to patch the paths correctly. I would never suppose this to work, as I don't have /usr/local/bin/perl... the entire /usr/local structure is meant for 'locally built / installed' applications, not for package manager based ones. b) if you really want to override the rpmlint check, you can create a sourcefile .rpmlintrc. Closer details can be found at http://en.opensuse.org/Packaging/RpmLint#Supressing_False_Positives Hope this helps you, Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Ralf Becker escribió:
rpm-lint stalls the build of eGroupware openSUSE 11.0 packages with the following message:
But that is no reason to disable rpmlint checks they are there for a very good reason, otherwise people will get non-working packages !!
Funny thing is, it seems only apply to openSUSE 11.0 target.
fix it ;) .... %install (all your installation steps.. and finally...) find %{buildroot} -name "*.pl" -exec sed -i -e "s@/usr/local/bin/perl@%__perl@g" {} + that's all. -- "We have art in order not to die of the truth" - Friedrich Nietzsche Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/

Ralf, 533)
a) I would really suggest you to patch the paths correctly. I would never suppose this to work, as I don't have /usr/local/bin/perl... the entire /usr/local structure is meant for 'locally built / installed' applications, not for package manager based ones. b) if you really want to override the rpmlint check, you can create a sourcefile .rpmlintrc. Closer details can be found at http://en.opensuse.org/Packaging/RpmLint#Supressing_False_Positives Hope this helps you, Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Ralf Becker escribió:
rpm-lint stalls the build of eGroupware openSUSE 11.0 packages with the following message:
But that is no reason to disable rpmlint checks they are there for a very good reason, otherwise people will get non-working packages !!
Funny thing is, it seems only apply to openSUSE 11.0 target.
fix it ;) .... %install (all your installation steps.. and finally...) find %{buildroot} -name "*.pl" -exec sed -i -e "s@/usr/local/bin/perl@%__perl@g" {} + that's all. -- "We have art in order not to die of the truth" - Friedrich Nietzsche Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
participants (3)
-
Cristian Rodríguez
-
Dominique Leuenberger
-
Ralf Becker