[CentOS] noob question about mock

Wed Jan 5 00:18:36 UTC 2011
Nico Kadel-Garcia <nkadel at gmail.com>

On Tue, Jan 4, 2011 at 4:00 PM,  <nux at li.nux.ro> wrote:
> 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!

I wonder if it would help with the "nosrc.rpm" packages for JPackage?