Create custom RPM / Open Build Service down

I have a couple of open tickets (8447231 and 8297933) from which it appears that the only way to install a custom PHP module is to build as a custom RPM, as per ea4.ninja (which is a cPanel website, hence I am asking on this forum)