RPM

Comment 2 for bug 1172334

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

This functionality is already implemented, though not used since FC3.

The values involved are carried in the transaction (lib/rpmts.c:1502)

    ts->color = rpmExpandNumeric("%{?_transaction_color}");
    ts->prefcolor = rpmExpandNumeric("%{?_prefer_color}");
    if (!ts->prefcolor) ts->prefcolor = 0x2;

Your "last installed" policy MUST take color into account
because it makes little sense to arbitrarily replace ELF32
with ELF64