From rpm versions 4.9.0 and on, posix.exec() will return an error unless called
from a child process created with posix.fork(). os.execute() may be used
instead.
This change is documented in these two resources:
- http://rpm.org/user_doc/lua.html
- https://rpm-packaging-guide.github.io/Close#53.