Re: [HEADS UP] Manging shebangs in Rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Does it mean we don't have to fix the shebangs in .spec files and we can ignore rpmlint complaints?

Vít


Dne 22.1.2018 v 17:36 Igor Gnatenko napsal(a):
Hello,

I'm planning to merge PR[0] somewhere later this week. Essentially it does:

For each executable files:
* Replaces /usr/bin/env foo with /usr/bin/foo
* Replaces /usr/bin/python with /usr/bin/python2
* Removes exectuable bit (and shows warning) for files where there are no
shebang
* Errors when shebang doesn't start with slash (because it is really incorrect)

To disable, you can do %undefine __brp_mangle_shebangs.


Just to remind you, depending on /bin/env in system packages is wrong because
under some conditions it will stop working and what we are trying to do is that
packaged applications ALWAYS WORK.

[0] https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/9
> _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux