[CentOS] noob question about mock

Tue Jan 4 21:00:10 UTC 2011
nux at li.nux.ro <nux at li.nux.ro>

Michael Gliwinski writes:

> Actually, mock can build an SRPM from spec file and dir with sources:
> 
>   $ mock --buildsrpm --spec=/path/to/spec --source=/path/to/src/dir
> 
> I've been using it at least since 1.0.5, which is definitely in EPEL, not sure 
> if it was available in older versions.  Sure it may require some scripting 
> around it to automate it but it has the advantage of verifying build depends, 
> etc. so it's worth it IMO.

Cheers for that!

--
Nux!
www.nux.ro