Comment 1 for bug 637153

Revision history for this message
Jeff Johnson (n3npq) wrote :

rpm already unifies all {N,EVR,F} tuples in dependencies.

What is confusing is that the flags variable has per-scriptlet context markers
that are part of the unification while only the {N,EVR} is actually displayed,
so there's a perception of duplication.

E.g. if a package has both a %post and a %preun scriptlet, then
there will be 2 "/bin/sh" dependencies displayed, each with a different
context marker.

Because the context markers are orthogonal bits, its feasible to unify
the dependencies. But there are some complexities in unduplicating
dependencies based soley on a union of context markers.

There's also a fair amount of "instant incompatibility" risk for a rather
small gain in the size of most headers. There are bigger gains to be
had in size reduction if headers were compressed in pkgs, where the
compressor would easily find the redundant strings in the Huffman dictionary