David, if it helps, I was able to build on Rocky Linux 8.5, in a docker container, by just adding these packages:
make rpm-build ncurses-devel gdbm-devel flex
I did enable PowerTools in the container, too. I can send my script, if
anyone wants it.
