[CentOS] Roll a .src.rpm without physical build?

Miskell, Craig Craig.Miskell at agresearch.co.nz
Thu Jul 19 21:15:44 UTC 2007

> Hi,
>  I got into a situation where a source rpm (.src.rpm)
> file needs to be rolled but without build process
> involved. 
>  That is, I have a hacked version .spec file and a
> tarball, and needs to roll these two files into a
> .src.rpm file directly and send it out without build
> it.
>  Any one know the command(s) to fullfill it? Thanks.

rpmbuild -bs foo.spec

Craig Miskell
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.

More information about the CentOS mailing list