Re: noob question about mock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Dec 30, 2010 at 8:51 AM,  <nux@xxxxxxxxx> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux