rpm: fix build on Apple Silicon (#93683)
rpm: fix build on Apple Silicon (#93683)

Add two upstream patches to the RPM formula. The first addresses the
usage of *64 stat symbols, which have been removed on the Apple Silicon
toolchain. The second patch removes a broken Lua regular expression
extension. This extension has been broken for fifteen years, and
references a symbol that has been removed in recent versions of Lua.

This PR also removes the generic libtools configure script patch
for fixing the flat namespace bug. This is not necessary, as we regenerate
the entire configure script due to the Lua patch touching a `Makefile.am`
file.

This PR also changes the `inreplace` in `post_install` with specififying
`__GPG` as an argument to `configure`.
sjackman/homebrew-core,stgraber/homebrew-core,makigumo/homebrew-core,nbari/homebrew-core,uyjulian/homebrew-core,zyedidia/homebrew-core,filcab/homebrew-core,makigumo/homebrew-core,cblecker/homebrew-core,mfikes/homebrew-core,mfikes/homebrew-core,uyjulian/homebrew-core,Homebrew/homebrew-core,cblecker/homebrew-core,chrisfinazzo/homebrew-core,nandub/homebrew-core,Homebrew/homebrew-core,nbari/homebrew-core,adam-moss/homebrew-core,adam-moss/homebrew-core,stgraber/homebrew-core,chrisfinazzo/homebrew-core,nandub/homebrew-core,lemzwerg/homebrew-core,sjackman/homebrew-core,filcab/homebrew-core,zyedidia/homebrew-core,lemzwerg/homebrew-core