[Rpm-maint] Enforce install/erase order without adding a Requires:
Ville Skyttä
ville.skytta at iki.fi
Thu Nov 25 21:28:47 UTC 2010
On Thursday 25 November 2010, FlorianFesti wrote:
> Hi!
>
> There have been various issues with packages that demand a special order
> of installation but do not want to Require the package to be installed
> first. So a tag that is like Requires: during ordering but ignored
> otherwise is needed.
>
> Panu had a look into the problem yesterday and it turned out this can be
> done by simply adding a new tag triple and very few additional lines of
> code. But it also turned out that's really hard to come up with a good
> name for it. After banging our heads against the wall for the morning we
> settled on "OrderWithRequires:" It is not really beautiful but here are
> the reasons why we preferred it over two dozen other options:
>
> * It contains "Requires" which make clear that it is handled exactly
> like normal Requires during ordering.
If it's actually not a "Requires", it shouldn't IMO contain that word.
If Suggests/Enhances are not desirable for this, how about DependencyOrder?
Some actual, concrete example cases exactly what for and how this would be
used might result in better suggestions.
More information about the Rpm-maint
mailing list