Re: pkgconfig usage

2019-03-28 Thread Fabio Valentini
On Thu, Mar 28, 2019 at 12:08 AM Luya Tshimbalanga wrote: > > On 2019-03-26 10:07 a.m., Georg Sauthoff wrote: > > Hello, > > > > when packaging a C/C++ program, the rpm automatic dependency feature > > usually works well for shared libraries. > > > > That mean when program 'bar' needs libfoo-devel

Re: pkgconfig usage

2019-03-27 Thread Richard Shaw
On Wed, Mar 27, 2019 at 6:08 PM Luya Tshimbalanga wrote: > Sightly related to the topic, is there an effective way to use > pkgconfig(foo) for packages rather foo-devel? It seems very few > packages use that method. > I admit I'm usually too lazy to do this when -devel works. Most of my package

pkgconfig usage

2019-03-27 Thread Luya Tshimbalanga
On 2019-03-26 10:07 a.m., Georg Sauthoff wrote: > Hello, > > when packaging a C/C++ program, the rpm automatic dependency feature > usually works well for shared libraries. > > That mean when program 'bar' needs libfoo-devel at build time it's > sufficient to add > > BuildRequires: libfoo-devel