On Tuesday 2017-11-14 19:29, Todd Rme wrote:
- We really need to get rid of using unversioned "python" in shebangs.
Regarding 1, there are currently two pain points. First and most obvious is the fact that the shebangs have to be edit manually. The second is that if we want versioned shebangs, we need to manually recompile the files to avoid mtime issues.
Ideally changing the shebangs could be handled automatically during %python_build, but there could still be a separate macro that could be called in cases where manual changes are necessary. Recompiling is needed in other situations as well, so having a macro to handle that would be useful in general.
Aside from unversioned pythons in the #! line, "#!/usr/bin/env" has also been made out to be a problem, so there is an opportunity here to kill two birds with one stone. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org