When to use pkgconfig(xxx) or xxx-devel

Hello,

The required dependency for building package from OBS have this BuildRequires:

For example, it can either be

BuildRequires: gsl-devel

or

BuildRequires: pkgconfig(gsl)

So when to use which one for which circumstance?

Thanks.

Hi
If there is a pc file, then use pkgconfig() cmake() perl() etc :wink:

Thanks, got it.