Re: [opensuse-packaging] Doc packages require devel packages?
Ferdinand Thiessen
Hello,
Hi!
Short question: Should a -doc package require the -devel package?
Imho only -devel packages should require -devel packages.
Best regards,
Ferdinand
-- Best regards, Dmitriy Perlow -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sun, Nov 22, 2015 at 04:13:13PM +0300, Dmitriy Perlow wrote:
Ferdinand Thiessen
Sun, 22 Nov 2015 15:22:36 +0300: Hello,
Hi!
Short question: Should a -doc package require the -devel package?
Imho only -devel packages should require -devel packages.
As the -doc package usually would not need the -devel package for anything, no. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hello, On Nov 23 08:37 Marcus Meissner wrote:
On Sun, Nov 22, 2015 at 04:13:13PM +0300, Dmitriy Perlow wrote:
Ferdinand Thiessen
Sun, 22 Nov 2015 15:22:36 +0300: Short question: Should a -doc package require the -devel package?
Imho only -devel packages should require -devel packages.
As the -doc package usually would not need the -devel package for anything, no.
It depends on what "need" means here. For example if the -doc package describes header files in the -devel package, one could think that the header files are somehow "needed" by the the -devel package but normally the header files are not strictly required by the -doc package. Usually a foo-devel package requires the foo main package so that when a foo-doc package required foo-devel then also the foo main package would be required which means by installing foo-doc one gets all of foo installed. Cf. https://en.opensuse.org/openSUSE:Package_dependencies ----------------------------------------------------------------- It is up to the package maintainer to decide about dependencies between pac and pac-devel. For example, if one wants to split a library package into a main, a -devel, and a -doc package, the main and the -doc package are independant, but the -devel package requires the main package. ----------------------------------------------------------------- In general: RPM requirements should be only used for essential stuff i.e. for what is mandatory to make it work. For anything else RPM recommends should be used. RPM Requires are hard dependencies that cannot be skipped by end-users (without having unresolved dependencies in their systems). Furthermore (as far as I know) the openSUSE build service installs all RPM Requires to set up the build system of a package so that RPM requirements in a package result that all those hard dependencies must be installed in our build systems for any other package that directly or indirectly BuildRequires the package. In short: Keep RPM Requires as small as possible - i.e. only what is really mandatory to make it work - and specify all what is optional (i.e. what is not really mandatory) as RPM Recommends. Cf. http://lists.opensuse.org/opensuse-packaging/2015-04/msg00075.html Kind Regards Johannes Meixner -- SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard, Graham Norton - HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Dmitriy Perlow
-
Johannes Meixner
-
Marcus Meissner