Building RPMs section of the dev guide