Request for review: libpqxx

Ville Skyttä ville.skytta at iki.fi
Fri Jul 1 11:55:32 UTC 2005


On Fri, 2005-07-01 at 12:42 +0200, Andreas Bierfert wrote:

> > As a rule of thumb: whenever a -devel package contains a foo-config
> > executable or a pkg-config file, these are worth examining for dependencies
> > on other -devel packages. If no foo-config program or pkg-config file
> > is included, it may need more effort to examine included C/C++ headers
> > for dependencies.
> 
> Is this a policy? I don't know... I reather would think if somebody needs to use
> the devel package that somebody would need to install the libs to and not do it
> automatically via Requires.

When one installs a package, dependencies should be there for all stuff
that is needed to use the package, -devel or not.
http://fedoraproject.org/wiki/PackagingGuidelines#head-2db2bd669d7a5a025a373a9aef588a85b1aa9eaf

In the case of devel packages, "use" almost always means compiling stuff
against the package.  That includes using the output of foo-config or
pkg-config foo.pc to determine the needed libs, CFLAGS and friends, as
well as being able to #include header files from the package, use its
*.m4 etc.

Not doing so will lead to explicit dependency bloat and increased
maintenance burden for all packages that use the -devel package in
question.




More information about the fedora-extras-list mailing list