Hi, I wish to have some easy way to fix these issues, so * either the shebangs are fixed on the fly during the build process (preferred). * Or provide a very easy to use script/macro to fix them, plus a copy-pasteable example in the rpmlint output. That macro could be part of the python-rpm-macros or (better) some macros which are always installed (as not all python packages use the singlespec-approach). Fixing a problem as easy as possible is equally important as to check/report it. Sebastian On 10/17/2017 08:49 PM, Todd Rme wrote:
The current version of rpmlint in devel:languages:python [1] contains a patch relative to the one in openSUSE:Factory. This patch adds additional warnings and errors regarding shebangs in scripts. Specifically, executable scripts with "/usr/bin/env" cause an error and "/usr/bin/python" cause a warning.
However, the submission to openSUSE:Factory [2] was rejected 4 months ago over doubts regarding whether there should be an error and whether the checks are really necessary.
Since then, devel:languages:python has had this different rpmlint behavior than openSUSE:Factory. I hope we can get this issue resolved so we can bring the two versions back into agreement.
1: https://build.opensuse.org/package/show/devel:languages:python/rpmlint 2: https://build.opensuse.org/request/show/508168
-- python programming - mail server - photo - video - https://sebix.at cryptographic key at https://sebix.at/DC9B463B.asc and on public keyservers