if you have a src rpm file, run the following command:
rpm --rebuild [i]packagename-1.x.x-src.rpm[/i], supplying the appropriate filename, of course.
if you have already installed the src package, go to /usr/src/redhat/SOURCES and run the following command:
rpm -bb packagename-1.x.x.spec, supplying the appropriate filename, of course.