A question recently crossed IRC about whether it's OK to use bash-specific things in a specfile. We have a section in the scriptlets guideline:
In Fedora, all scriptlets can safely assume they are running under the bash shell unless a different language has been specified.
But I don't think we say anything about it elsewhere, and we probably should. Additionally, https://docs.fedoraproject.org/en-US/packaging-guidelines/#_scripting_inside_of_specfiles is a bit odd in that it looks like there was some kind of lost content. A list is introduced but it has only one item (Lua).
At this point I have forgotten how to access the old source on the wiki to see if something else might have been listed there and lost in conversion. If it's really supposed to be just Lua (and shell/bash is implicit) then I would propose that we either explicitly add shell/bash to the list or, I don't know, just say "bash or Lua" and get rid of the list.
I can send a PR but I want to see if anyone else can remember anything about whether we used to have anything else there.
https://fedoraproject.org/w/index.php?title=Packaging:Guidelines&oldid=524462#Scripting_inside_of_spec_files is the old version. It indeed looks like some content was lost.
Log in to comment on this ticket.