This might look too magic, but what it does in short:

* Replace `/usr/bin/env foo` with `/usr/bin/foo`.. One could argue on this, so 
we could add some macro to disable this. In Fedora it is even prohibited by 
guidelines now. This brp would help a lot!
* Drop shebang from non-executable files.. Having shebangs in non-executable 
files doesn't make sense to me. If you think I'm wrong, I'm ready to listen!
* If shebang is empty or doesn't exist, but file is executable - remove 
executable bit, most likely it will not work anyway, only by luck
* Error out on shebangs like `#!perl`, this works only by luck

cc @jasontibbitts @Conan-Kudo 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/344#issuecomment-341269384
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to