Re: Policy regarding redundant dependencies

2019-03-29 Thread Richard W.M. Jones
On Wed, Mar 27, 2019 at 05:03:23PM +0100, Georg Sauthoff wrote: > On Wed, Mar 27, 2019 at 03:04:53PM +, Richard W.M. Jones wrote: > > On Tue, Mar 26, 2019 at 06:07:05PM +0100, Georg Sauthoff wrote: > > > because rpm automatically adds something like: > > > > > > libfoo.so.1()(64bit) > > >

Re: Policy regarding redundant dependencies

2019-03-27 Thread Georg Sauthoff
On Wed, Mar 27, 2019 at 03:04:53PM +, Richard W.M. Jones wrote: > On Tue, Mar 26, 2019 at 06:07:05PM +0100, Georg Sauthoff wrote: > > because rpm automatically adds something like: > > > > libfoo.so.1()(64bit) > > > > Of course, I could still add a superfluous > > > > Requires:

Re: Policy regarding redundant dependencies

2019-03-27 Thread Richard W.M. Jones
On Tue, Mar 26, 2019 at 06:07:05PM +0100, Georg Sauthoff wrote: > because rpm automatically adds something like: > > libfoo.so.1()(64bit) > > Of course, I could still add a superfluous > > Requires: libfoo This could pull in the 32 bit version of the package so it's wrong as well as

Re: Policy regarding redundant dependencies

2019-03-26 Thread Rex Dieter
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 > > and I can omit

Policy regarding redundant dependencies

2019-03-26 Thread Georg Sauthoff
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 and I can omit Requires: libfoo because rpm