[Bug 739856] Review Request: opendbx - abstraction library for database access in C

bugzilla at redhat.com bugzilla at redhat.com
Sat Oct 15 02:49:36 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=739856

--- Comment #11 from Ralf Corsepius <rc040203 at freenet.de> 2011-10-14 22:49:35 EDT ---
(In reply to comment #10)
> Taking it for review as I am a sponsor.
> 
> The %dir %{_libdir}/opendbx should be only in the base package and not
> duplicated in all of the backend subpackages.

Why?

In cases, packages sharing directories depend upon each other in a strict
hierarchic dependency, having a "base package" own the shared-directory and the
"backends/plugins" not owning it is _one possible option_. 
The alternative is to let _all_, base and "backends/plugins" packages, which
use this shared directory to let them own it.

It's up to the discretion of the packager to choose from these approaches.


In general, the second approach is much more flexible, general and superior
approach. It is the only applicable approach when there is no strict hierarchy 

Classic example for such a case would be a plugin/backends system being used by
several, independent frontends - Then sharing ownership of directories is
mandatory.

Real world example for such a case in fedora is the perl-modules: Each
perl-module package m must own all directories it owns, because there is no
fixed, strict dependency between them.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list