Linking against foreign packages

I’m sure this is a simple question but I just can’t figure out how to get this to work.

I want to build a package (bitcoin_client from home:cdecker:bitcoin) which has a dependency on a package from another repository (namely libdb-4_7 from home:rmax), but I don’t want to create a copy of it in my own repository.

What and where would I have to configure to get this to work?

(ignore the other stuff in the spec for now, as this is only a stub) :stuck_out_tongue:

_aggregate is what your after;

Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel
up 17:19, 2 users, load average: 0.44, 0.47, 0.25
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

Thanks alot, it finally worked. Previously I tried linking to the above mentioned package, but looking at the files it provided libdb-4_5 and not libdb-4_7 which I needed.