Since I actually had an existing pagure repo for random RPM macro
experiments, I just dropped the R macro stuff there.
I still have some ideas to implement but feel free to test what's there.
To use this, you just need to check out the repo and then add a symlink
to macros.R-extra in /usr/lib/rpm/macros.d.