Converting source rpm to binary rpm

Hi,

I need to install an rpm file,but I only have '.src.rpm' version of it. I want to convert it to a binary rpm.

so I tried this

rpm --rebuild somethin.src.rpm

But I am gettin '--rebuild:Invalid option' as output

Is there another way to rebuild source rpm.?

Thanks in advance.
Sunny

Try rpmbuild rather than rpm.

Take a look at this man page, it has pretty good examples.