On Fri, Aug 17, 2012 at 11:49 AM, Remi Collet Fedora@famillecollet.comwrote:
Is mock supposed to scan spec files and build php-pear-foo before myapp, or should I deal with build order myself
Yes, yourself.
Ok.
Should I create a local repo, reference it in my mock configuration, and use it to install php-pear-foo before building myapp ? Or is there an easier way ?
Yes, you need a repo with php-pear-foo.
You could user the mock "results" dir and run a createrepo in it. See the mock configuration file.
Ok, I was currently exploring this, so I'm glad to know it's a possible way to go.
You case also give mockchain a try http://skvidal.wordpress.com/2012/04/20/mockchain-use-cases-and-examples/
Wow, didn't know of this one, I'll definitely give it a try. Thanks :)
Cheers