Building RPMs as an ordinary user
you can build an rpm package without being root. You need to create a ~/.macros and populate it
with the correct rpmbuild parameters. You also need a build tree.
I include here a
script to do just that.