Bug 91458
Summary: | rpm: Should support weak dependencies (suggests/recommends etc.) | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Tobias Burnus <tobias.burnus> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED DEFERRED | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | Keywords: | FutureFeature |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://http:// | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-05-22 20:16:50 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Tobias Burnus
2003-05-22 19:53:45 UTC
Yes, rpm is missing one of Recommends: or Suggests:, I've never been able to keep straight which is which. There are two main problems that I (and other rpm maintainers) have with what you are calling "weak dependencies": a) "weak dependencies" don't belong in, but rather with, a package. The problem with putting dependencies hints in a package is that package metadata starts to rot as soon as you build a package. This is not a big deal if you can rebuild, but is a huge support problem for binary-only rpm based distros. So my current answer is to design a means to associate the weak dependency hints with, but not in, a package as rpm is missing support for one of the two. b) establishing well defined and objective semantics for new functionality in weak dependencies is not exactly clear. When can a suggests and/or recommends be ignored and when not. Without a clear semantic, I'm hesitant to undertake the clarification necessary. Clearly rpm has survived this long without either recommends and suggests. Deferred until somewhen for an omplementation with, but not in, a package. > "weak dependencies" don't belong in, but rather with, a package.
For recommended additionally packages I agree, but for
package -> package-devel
package -> package-docs
package-docs -> package
and maybe
package* -> package.src.rpm
it makes sense to put it into the rpm. After all in 99% of the cases they are
produced by the same .spec file.
For the other relations (GUI etc.) I agree that storing them externally is
probably a better idea.
Again, I don't disagree. What is really missing in rpm based distros is the administrative controls necessary to force the perfectly sensible (and even defacto pragma) consensus on the dependencies you mention above. Without consensus, only rock'n'roll is possible. Oh well ... |