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 Fri, Mar 22, 2019 at 1:04 PM Japheth Cleaver <cleaver@xxxxxxxxxxxxxx> wrote:
>
> On 3/21/2019 3:23 PM, Richard W.M. Jones wrote:
>
> So what?  On Fedora /bin/sh is bash, and bash is a fine shell.
>
> All this nonsense of using dash for /bin/sh on Debian is IMO a
> pointless bunch of make-work.
>
> Fedora has certainly made a lot of make-work projects over the last decade, under arguably more questionable reasoning.

Assuming that Fedora *has* had make-work projects, that's not a
justification to create more of them!

> IMO the situation that we're in now ("Assume you're running in bash, but called as -/bin/sh") is a worst-of-both-worlds middle ground, somewhat akin to mandating webpages be written in IE Quirks Mode for all time. It's neither pedantically correct, nor flexible for users and downstreams. And the resolution from all of this last time remains lacking in the guarantees that an independent spec should have:

Any change here would need some strong justification - and allowing
users or derived distributions to replace /bin/sh with non-bash is not
something that I think there's any interest in. An argument could be
made for spec-file portability, but considering the amount of
Fedora-specific macros that we *want* packagers to use, that's not
obviously that convincing either.

Owen
_______________________________________________
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