pack.c: print payload compression string
Given that downgradeLzmaLevel can change the payload compression, it's useful to have this diagnostics in the output produced by rpmbuild.
This commit is contained in:
parent
b295de5893
commit
b6d1778c72
@ -602,7 +602,6 @@ int writeRPM(Header *hdrp, const char *fileName, int type,
|
||||
rpmError(RPMERR_BADARG, _("Bad CSA data\n"));
|
||||
}
|
||||
}
|
||||
rpmio_flags = _free(rpmio_flags);
|
||||
|
||||
if (rc)
|
||||
goto exit;
|
||||
@ -800,10 +799,12 @@ exit:
|
||||
}
|
||||
|
||||
if (rc == 0)
|
||||
rpmMessage(RPMMESS_NORMAL, _("Wrote: %s\n"), fileName);
|
||||
rpmMessage(RPMMESS_NORMAL, _("Wrote: %s (%s)\n"),
|
||||
fileName, rpmio_flags);
|
||||
else
|
||||
(void) Unlink(fileName);
|
||||
|
||||
rpmio_flags = _free(rpmio_flags);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user