Support building RPM directly from the source

Please let me know if you'd like something done differently.

Thanks!