Re: More than 10% of all Fedora spec files are not POSIX sh compliant

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

 



On Mon, 25 Mar 2019 at 08:02, Dridi Boukelmoune
<dridi.boukelmoune@xxxxxxxxx> wrote:
>
> > Try 1 at specification:
> >
> > Fedora is based on GNU tools versus strict POSIX compliant ones. As
> > such, packagers can expect that /bin/sh is /bin/bash, /bin/awk is
> > /bin/gawk, /bin/cc is /bin/gcc ad naseum. This means that unless
> > specified elsewhere that a 'bashism', 'gawkism', 'gcc-ism' is not to
> > be used, packagers may rely on tools to act as the upstream GNU tools
> > in their spec files.
>
> This is the kind of spec that leads to spoiled upstreams putting
> /bin/sh in shebangs and scratching their heads when they get bug
> reports for stricter systems...
>
> I'd be happier if Fedora was not part of the problem and maintainers
> were encouraged to figure out the correct shebang (and when in doubt
> use /usr/bin/bash). And since RPM appears to be configurable for the
> default interpreter, have it use /usr/bin/bash by default.
>
> Dridi

So please write the spec you want to see.


> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx



-- 
Stephen J Smoogen.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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