[CentOS] noob question about mock

Thu Dec 30 14:11:20 UTC 2010
Ryan Wagoner <rswagoner at gmail.com>

On Thu, Dec 30, 2010 at 8:51 AM,  <nux at li.nux.ro> wrote:
> Hi,
> Been recently more and more tempted to use mock for building rpms, but
> looking at it I have one problem. As far as I could read about it, mock
> essentially rebuilds srpms so to use it I would need a separate "classical"
> build environment to create those srpms in the first place.
> Am I right or did I get something terribly wrong?

You can use rpmbuild -bs --nodeps to build the SRPM without the
dependency checking. The SRPM is just a compilation of the spec,
source code, and patches.