[CentOS] noob question about mock

nux at li.nux.ro nux at li.nux.ro
Thu Dec 30 18:15:49 UTC 2010


Ryan Wagoner writes:

> 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.
> 
> Ryan


Great tip, Ryan! Thank you.




More information about the CentOS mailing list