[Rpm-maint] [rpm-software-management/rpm] Introduce a new qualifier for meta dependencies (RhBug:1648721) (#1028)

Florian Festi notifications at github.com
Fri Jan 31 10:15:30 UTC 2020


The way the current qualifiers work is very peculiar.

If none is given the Requires applies always and is used for ordering and must be obeyed for installed packages, too.
If any one is given (except `interp` which seams not to be used really) the requires only applies during the installation/erasure. Some of them are still used for ordering with `pre` and `preun` are given priority in case of dependency loops. 

Combining multiple qualifiers will make the Requires less specific (which is kinda odd). But it never to the point where they apply outside of the installation/erasure time. There currently is a bug (#1030) so adding the right qualifiers does not re-enable ordering but this will be fixed.

So multiple Requires lines with different qualifiers (and the same NFV) can be merged by adding the qualifiers, but Requires with and without qualifiers cannot.

This will make the new "meta" qualifier an oddball as it re-enables the Requires for installed packages which cancels one of the main traits of all other qualifiers. It also cancels ordering - unless combined with another qualifier requiring ordering. If implemented this way it can be combined with other qualifiers and has the same property of not being mergable with an non-qualified Requires.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1028#issuecomment-580672656
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200131/b020f138/attachment.html>


More information about the Rpm-maint mailing list