remark: we don't print the disttag

This commit is contained in:
Ivan Zakharyaschev 2019-02-25 08:20:37 +03:00
parent 3c72c222d5
commit e805931cf3
2 changed files with 5 additions and 5 deletions

View File

@ -475,7 +475,7 @@ static int verifyDependencies(rpmdb rpmdb, Header h)
const char *n, *v, *r;
char * t, * te;
int nb = 512;
(void) headerNVR(h, &n, &v, &r);
(void) headerNVRD(h, &n, &v, &r, NULL); // we don't print the disttag
int i;
for (i = 0; i < numConflicts; i++) {
@ -523,7 +523,7 @@ int showVerifyPackage(QVA_t qva, rpmdb rpmdb, Header h)
if (qva->qva_flags & VERIFY_DIGEST) {
if ((rc = rpmVerifyDigest(h)) != 0) {
const char *n, *v, *r;
(void) headerNVR(h, &n, &v, &r);
(void) headerNVRD(h, &n, &v, &r, NULL); // we don't print the disttag
rpmMessage(RPMMESS_NORMAL,
_("%s-%s-%s: immutable header region digest check failed\n"),
n, v, r);

View File

@ -2041,7 +2041,7 @@ exit:
#ifdef NOTNOW
if (mi->mi_h) {
const char *n, *v, *r;
(void) headerNVR(mi->mi_h, &n, &v, &r);
(void) headerNVRD(mi->mi_h, &n, &v, &r, NULL); // we don't print the disttag
rpmMessage(RPMMESS_DEBUG, "%s-%s-%s at 0x%x, h %p\n", n, v, r,
mi->mi_offset, mi->mi_h);
}
@ -2312,7 +2312,7 @@ int rpmdbRemove(rpmdb db, /*@unused@*/ int rid, unsigned int hdrNum)
#endif
{ const char *n, *v, *r;
(void) headerNVR(h, &n, &v, &r);
(void) headerNVRD(h, &n, &v, &r, NULL); // we don't print the disttag
rpmMessage(RPMMESS_DEBUG, " --- %10u %s-%s-%s\n", hdrNum, n, v, r);
}
@ -2646,7 +2646,7 @@ int rpmdbAdd(rpmdb db, int iid, Header h)
if (!dbi->dbi_no_dbsync)
xx = dbiSync(dbi, 0);
{ const char *n, *v, *r;
xx = headerNVR(h, &n, &v, &r);
xx = headerNVRD(h, &n, &v, &r, NULL); // we don't print the disttag
rpmMessage(RPMMESS_DEBUG, " +++ %10u %s-%s-%s\n", hdrNum, n, v, r);
}
}