Hi,

I'm new to rpm packaging, and a bit confused...

I want to build two rpm packages:
- myapp
- php-pear-foo

Given myapp needs php-pear-foo at build-time, should I build php-pear-foo first, install it, and then build myapp ?
Is mock supposed to scan spec files and build php-pear-foo before myapp, or should I deal with build order myself ?
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 ?

Any help is welcome :)

Cheers