On Tue, Jan 4, 2011 at 4:00 PM, nux@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?