Blame refreshtestarch.diff

Bernhard M. Wiedemann 1250f9
Also test architecture in "refresh" test when not colored. This allows
Bernhard M. Wiedemann 1250f9
updates to different architectures.
Bernhard M. Wiedemann 1250f9
ef651c
--- lib/psm.c.orig	2019-10-02 09:54:56.180565818 +0000
ef651c
+++ lib/psm.c	2019-10-02 09:55:02.700552941 +0000
Bernhard M. Wiedemann eb41fd
@@ -518,9 +518,9 @@ static void markReplacedInstance(rpmts t
Bernhard M. Wiedemann 1250f9
     rpmdbSetIteratorRE(mi, RPMTAG_EPOCH, RPMMIRE_STRCMP, rpmteE(te));
Bernhard M. Wiedemann 1250f9
     rpmdbSetIteratorRE(mi, RPMTAG_VERSION, RPMMIRE_STRCMP, rpmteV(te));
Bernhard M. Wiedemann 1250f9
     rpmdbSetIteratorRE(mi, RPMTAG_RELEASE, RPMMIRE_STRCMP, rpmteR(te));
Bernhard M. Wiedemann 1250f9
+    rpmdbSetIteratorRE(mi, RPMTAG_ARCH, RPMMIRE_STRCMP, rpmteA(te));
Bernhard M. Wiedemann 1250f9
     /* XXX shouldn't we also do this on colorless transactions? */
Bernhard M. Wiedemann 1250f9
     if (rpmtsColor(ts)) {
Bernhard M. Wiedemann 1250f9
-	rpmdbSetIteratorRE(mi, RPMTAG_ARCH, RPMMIRE_STRCMP, rpmteA(te));
Bernhard M. Wiedemann 1250f9
 	rpmdbSetIteratorRE(mi, RPMTAG_OS, RPMMIRE_STRCMP, rpmteO(te));
Bernhard M. Wiedemann 1250f9
     }
Bernhard M. Wiedemann 1250f9